summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_become_lmb.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-03 03:35:13 +0000
committerHerb Lewis <herb@samba.org>1998-01-03 03:35:13 +0000
commitd018d7b42a7ae68a5a76c3874d285e9399fdce81 (patch)
treef3339b4531dcbb54b51c2defa22b081ffd3f4b03 /source3/nmbd/nmbd_become_lmb.c
parent19d7833b7a853dd26138814221062fd1041e8f2e (diff)
downloadsamba-d018d7b42a7ae68a5a76c3874d285e9399fdce81.tar.gz
samba-d018d7b42a7ae68a5a76c3874d285e9399fdce81.tar.bz2
samba-d018d7b42a7ae68a5a76c3874d285e9399fdce81.zip
added timestrings to become and unbecome domain/local master browser
messages. (This used to be commit 5e7e3d18b51e1eb949bc793d3106a17d8e65a1af)
Diffstat (limited to 'source3/nmbd/nmbd_become_lmb.c')
-rw-r--r--source3/nmbd/nmbd_become_lmb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c
index 6dcd61d76c..2d9f2cce55 100644
--- a/source3/nmbd/nmbd_become_lmb.c
+++ b/source3/nmbd/nmbd_become_lmb.c
@@ -145,8 +145,8 @@ void unbecome_local_master_success(struct subnet_record *subrec,
/* Now reset the workgroup and server state. */
reset_workgroup_state( subrec, released_name->name );
- DEBUG(0,("\n***** Samba name server %s has stopped being a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, released_name->name, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s has stopped being a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, released_name->name, subrec->subnet_name));
}
@@ -170,8 +170,8 @@ Removing from namelist anyway.\n", namestr(fail_name)));
/* Now reset the workgroup and server state. */
reset_workgroup_state( subrec, fail_name->name );
- DEBUG(0,("\n***** Samba name server %s has stopped being a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, fail_name->name, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s has stopped being a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, fail_name->name, subrec->subnet_name));
}
@@ -365,8 +365,8 @@ on subnet %s\n", work->work_group, subrec->subnet_name));
master browser as soon as possible that we are a local master browser. */
reset_announce_timer();
- DEBUG(0,("\n***** Samba name server %s is now a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, work->work_group, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s is now a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, work->work_group, subrec->subnet_name));
}