From e1fc414b6676ae484b3ffeb698b28df78a28355f Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 4 May 1999 03:02:18 +0000 Subject: [PATCH] #define the lengths of the string constants, and use this instead of PL_strlen() --- mailnews/news/src/nsNewsUtils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mailnews/news/src/nsNewsUtils.h b/mailnews/news/src/nsNewsUtils.h index 7da0384830e..df9c3f8c961 100644 --- a/mailnews/news/src/nsNewsUtils.h +++ b/mailnews/news/src/nsNewsUtils.h @@ -25,6 +25,9 @@ static const char kNewsRootURI[] = "news:/"; static const char kNewsMessageRootURI[] = "news_message:/"; +#define kNewsRootURILen 6 +#define kNewsMessageRootURILen 14 + extern nsresult nsGetNewsRoot(const char* hostname, nsFileSpec &result);