[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-588-g21c76ac
Jeremy Allison
jra at samba.org
Thu Mar 26 19:22:40 GMT 2009
The branch, v3-4-test has been updated
via 21c76accc3cde979844eb622d7a9bafe1d02d9be (commit)
from 1d11417c71ebcb80851c8b77e9f3102ee9b592f8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit 21c76accc3cde979844eb622d7a9bafe1d02d9be
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 26 12:21:55 2009 -0700
Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run elections
Fix logic bug that causes nmbd to wait 5 minutes before
looking for a master browser. This one is *old* :-). Thanks
for Simo for bugging me on this.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/nmbd/nmbd_elections.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c
index b50d215..1ed64f4 100644
--- a/source3/nmbd/nmbd_elections.c
+++ b/source3/nmbd/nmbd_elections.c
@@ -130,9 +130,6 @@ void check_master_browser_exists(time_t t)
struct subnet_record *subrec;
const char *workgroup_name = lp_workgroup();
- if (!lastrun)
- lastrun = t;
-
if (t < (lastrun + (CHECK_TIME_MST_BROWSE * 60)))
return;
--
Samba Shared Repository
More information about the samba-cvs
mailing list