diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-07-28 06:19:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-07-28 06:19:14 +0000 |
commit | ed9a219c8719063898c9b39ade0ba1b10739db98 (patch) | |
tree | 0bfab52870c9bf4c020c94bf56d1a299938186c1 /source3/nmbd/nmbd_mynames.c | |
parent | c4fcf56380739cc58a2096aefe587bee50fde27d (diff) | |
download | samba-ed9a219c8719063898c9b39ade0ba1b10739db98.tar.gz samba-ed9a219c8719063898c9b39ade0ba1b10739db98.tar.bz2 samba-ed9a219c8719063898c9b39ade0ba1b10739db98.zip |
fix minor nits in nmbd from adtam@cup.hp.com
samba-patches 959
(This used to be commit ef04261e2510b658322336ce841b01f1c903eee2)
Diffstat (limited to 'source3/nmbd/nmbd_mynames.c')
-rw-r--r-- | source3/nmbd/nmbd_mynames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_mynames.c b/source3/nmbd/nmbd_mynames.c index 345245c57d..ba7d509a77 100644 --- a/source3/nmbd/nmbd_mynames.c +++ b/source3/nmbd/nmbd_mynames.c @@ -225,7 +225,7 @@ void refresh_my_names(time_t t) wins_refresh_name(namerec); } namerec->data.death_time = t + lp_max_ttl(); - namerec->data.refresh_time = t + MIN(lp_max_ttl(), MAX_REFRESH_TIME); + namerec->data.refresh_time = t + MIN(lp_max_ttl()/2, MAX_REFRESH_TIME); } } } |