From f1abfacd4d230075e5c4029271f2f3952ac2c68a Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Mon, 3 Aug 1998 18:13:13 +0000 Subject: I finished removing timestring() calls from DEBUG() messages. Also went through and changed some DEBUG() calls to DEBUGADD() to combine output under a single timestamp. There were too many timestamps. Note that Jeremy has told me that he's working on adding a config parameter to turn timestamps off. Cool. Chris -)----- (This used to be commit 247dbc9a24987035a47f1ba4fa143b1e2c050e92) --- source3/param/loadparm.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 4d5ef3d657..2a42546662 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1956,13 +1956,16 @@ BOOL lp_do_parameter(int snum, char *pszParmName, char *pszParmValue) /*************************************************************************** Process a parameter. ***************************************************************************/ -static BOOL do_parameter(char *pszParmName, char *pszParmValue) +static BOOL do_parameter( char *pszParmName, char *pszParmValue ) { - if (!bInGlobalSection && bGlobalOnly) return(True); + if( !bInGlobalSection && bGlobalOnly ) + return(True); - DEBUG(3,("doing parameter %s = %s\n",pszParmName,pszParmValue)); + DEBUGADD( 3, ( "doing parameter %s = %s\n", pszParmName, pszParmValue ) ); - return lp_do_parameter(bInGlobalSection?-2:iServiceIndex, pszParmName, pszParmValue); + return( lp_do_parameter( bInGlobalSection ? -2 : iServiceIndex, + pszParmName, + pszParmValue ) ); } @@ -2082,7 +2085,7 @@ static BOOL do_section(char *pszSectionName) /* check for multiple global sections */ if (bInGlobalSection) { - DEBUG(3,( "Processing section \"[%s]\"\n", pszSectionName)); + DEBUG( 3, ( "Processing section \"[%s]\"\n", pszSectionName ) ); return(True); } -- cgit