diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-08-03 18:13:13 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-08-03 18:13:13 +0000 |
commit | f1abfacd4d230075e5c4029271f2f3952ac2c68a (patch) | |
tree | 4e6b97fc99ab33314c78af1122577060cabb0901 /source3/param | |
parent | 4fa20ebdc051083b02c790ff8a1c0a1094bd5e53 (diff) | |
download | samba-f1abfacd4d230075e5c4029271f2f3952ac2c68a.tar.gz samba-f1abfacd4d230075e5c4029271f2f3952ac2c68a.tar.bz2 samba-f1abfacd4d230075e5c4029271f2f3952ac2c68a.zip |
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)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 13 |
1 files changed, 8 insertions, 5 deletions
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); } |