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 | 247dbc9a24987035a47f1ba4fa143b1e2c050e92 (patch) | |
tree | 5b1314475fa172269ac9871a5e65b316326d2a63 /source/nmbd/nmbd_logonnames.c | |
parent | b968aa31ba15742a9eadc010e03781583feb6455 (diff) | |
download | samba-247dbc9a24987035a47f1ba4fa143b1e2c050e92.tar.gz |
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 -)-----
Diffstat (limited to 'source/nmbd/nmbd_logonnames.c')
-rw-r--r-- | source/nmbd/nmbd_logonnames.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/nmbd/nmbd_logonnames.c b/source/nmbd/nmbd_logonnames.c index dbbb8defafb..4486fb2840d 100644 --- a/source/nmbd/nmbd_logonnames.c +++ b/source/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); } } |