summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd_mynames.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-29 08:25:46 +0000
committerJeremy Allison <jra@samba.org>1998-01-29 08:25:46 +0000
commitfa5466805685d461564054d7d9947948fc56ae93 (patch)
tree03e5c01e89728a0c49e747cb0b2ec110d8d06fdb /source/nmbd/nmbd_mynames.c
parentf6ee3263dac960772024bf9009ad0ddce6d8f289 (diff)
downloadsamba-fa5466805685d461564054d7d9947948fc56ae93.tar.gz
samba-fa5466805685d461564054d7d9947948fc56ae93.tar.xz
samba-fa5466805685d461564054d7d9947948fc56ae93.zip
Makefile: Fix for OSF1 typo.
asyncdns.c: Fixes that went into 1.9.18p2 - allow unclocking of sigterm. chgpasswd.c: char -> unsigned char fixes. includes.h: AIX fix to get prototype for inet_ntoa. local.h: Tune size of shared memory based on MAX_OPEN_FILES. nmbd_mynames.c: Fix for nmbd repeated refresh bug. nmbd_responserecordsdb.c: Fix for nmbd repeated refresh bug. nmbd_winsserver.c: Fix for multi-homed registration optimisation. smb.h: Moved default shared memory size to local.h Jeremy.
Diffstat (limited to 'source/nmbd/nmbd_mynames.c')
-rw-r--r--source/nmbd/nmbd_mynames.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_mynames.c b/source/nmbd/nmbd_mynames.c
index 035d1e6d3f0..9441449beda 100644
--- a/source/nmbd/nmbd_mynames.c
+++ b/source/nmbd/nmbd_mynames.c
@@ -156,7 +156,8 @@ void refresh_my_names(time_t t)
multiple refresh calls being done. We actually
deal with refresh failure in the fail_fn.
*/
- refresh_name(subrec, namerec, NULL, NULL, NULL);
+ if(!is_refresh_already_queued( subrec, namerec))
+ refresh_name(subrec, namerec, NULL, NULL, NULL);
namerec->death_time += lp_max_ttl();
namerec->refresh_time += lp_max_ttl();
}