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/nmbd/nmbd_browsesync.c | |
parent | 4fa20ebdc051083b02c790ff8a1c0a1094bd5e53 (diff) | |
download | samba-f1abfacd4d230075e5c4029271f2f3952ac2c68a.tar.gz samba-f1abfacd4d230075e5c4029271f2f3952ac2c68a.tar.xz 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_browsesync.c')
-rw-r--r-- | source3/nmbd/nmbd_browsesync.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_browsesync.c b/source3/nmbd/nmbd_browsesync.c index fd55fe161d..dcf2ea3c48 100644 --- a/source3/nmbd/nmbd_browsesync.c +++ b/source3/nmbd/nmbd_browsesync.c @@ -101,8 +101,13 @@ static void sync_browse_lists(struct subnet_record *subrec, struct work_record * static struct cli_state cli; uint32 local_type = local ? SV_TYPE_LOCAL_LIST_ONLY : 0; - DEBUG(2,("%s: sync_browse_lists: Sync browse lists with server %s<%02x> at IP %s for workgroup %s\n", - timestring(), name, nm_type, inet_ntoa(ip), work->work_group )); + if( DEBUGLVL( 2 ) ) + { + dbgtext( "sync_browse_lists():\n" ); + dbgtext( "Sync browse lists with server %s<%02x> ", name, nm_type ); + dbgtext( "at IP %s ", inet_ntoa( ip ) ); + dbgtext( "for workgroup %s\n", work->work_group ); + } /* Check we're not trying to sync with ourselves. This can happen if we are a domain *and* a local master browser. */ |