summaryrefslogtreecommitdiffstats
path: root/source/nameresp.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nameresp.c')
-rw-r--r--source/nameresp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nameresp.c b/source/nameresp.c
index 7fcb41e79f0..2a8c5e88b04 100644
--- a/source/nameresp.c
+++ b/source/nameresp.c
@@ -174,7 +174,7 @@ static void dead_netbios_entry(struct subnet_record *d,
see name_query() and name_status() for suggested implementation.
******************************************************************/
-void expire_netbios_response_entries()
+void expire_netbios_response_entries(time_t t)
{
struct subnet_record *d;
@@ -186,7 +186,7 @@ void expire_netbios_response_entries()
{
nextn = n->next;
- if (n->repeat_time <= time(NULL))
+ if (n->repeat_time <= t)
{
if (n->repeat_count > 0)
{