From 7b21e5c10941e63f4835b41eb41438c9e457a0c7 Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Sun, 21 Aug 2005 16:01:52 +0000 Subject: [PATCH] fix build bustage when disable logging is turned on, r=cneberg, backing out part of patch for 280792 --- extensions/auth/nsAuthFactory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/auth/nsAuthFactory.cpp b/extensions/auth/nsAuthFactory.cpp index 8f74b7bbe4d..b3d515c69b6 100644 --- a/extensions/auth/nsAuthFactory.cpp +++ b/extensions/auth/nsAuthFactory.cpp @@ -220,7 +220,6 @@ static nsModuleComponentInfo components[] = { }; //----------------------------------------------------------------------------- - #if defined( PR_LOGGING ) PRLogModuleInfo *gNegotiateLog; @@ -231,6 +230,8 @@ InitNegotiateAuth(nsIModule *self) gNegotiateLog = PR_NewLogModule("negotiateauth"); return NS_OK; } +#else +#define InitNegotiateAuth nsnull #endif NS_IMPL_NSGETMODULE_WITH_CTOR(nsAuthModule, components, InitNegotiateAuth)