git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
494e471
)
Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run...
author
Jeremy Allison
<jra@samba.org>
Thu, 26 Mar 2009 19:21:55 +0000
(12:21 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 26 Mar 2009 19:28:40 +0000
(12:28 -0700)
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.
source3/nmbd/nmbd_elections.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_elections.c
b/source3/nmbd/nmbd_elections.c
index b50d215b91d57c37b5287ceb9f076782c932561a..1ed64f4059f7ce18c42b170e3470a0571c941e69 100644
(file)
--- 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;