summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_logonnames.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1998-08-03 18:13:13 +0000
committerChristopher R. Hertel <crh@samba.org>1998-08-03 18:13:13 +0000
commitf1abfacd4d230075e5c4029271f2f3952ac2c68a (patch)
tree4e6b97fc99ab33314c78af1122577060cabb0901 /source3/nmbd/nmbd_logonnames.c
parent4fa20ebdc051083b02c790ff8a1c0a1094bd5e53 (diff)
downloadsamba-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/nmbd/nmbd_logonnames.c')
-rw-r--r--source3/nmbd/nmbd_logonnames.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd_logonnames.c b/source3/nmbd/nmbd_logonnames.c
index dbbb8defaf..4486fb2840 100644
--- a/source3/nmbd/nmbd_logonnames.c
+++ b/source3/nmbd/nmbd_logonnames.c
@@ -156,9 +156,13 @@ void add_logon_names(void)
if (find_name_on_subnet(subrec, &nmbname, FIND_SELF_NAME) == NULL)
{
- DEBUG(0,("add_domain_logon_names: At time %s attempting to become \
-logon server for workgroup %s on subnet %s\n", timestring(), global_myworkgroup,
- subrec->subnet_name));
+ if( DEBUGLVL( 0 ) )
+ {
+ dbgtext( "add_domain_logon_names:\n" );
+ dbgtext( "Attempting to become logon server " );
+ dbgtext( "for workgroup %s ", global_myworkgroup );
+ dbgtext( "on subnet %s\n", subrec->subnet_name );
+ }
become_logon_server(subrec, work);
}
}