summaryrefslogtreecommitdiffstats
path: root/source/namework.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/namework.c')
-rw-r--r--source/namework.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/namework.c b/source/namework.c
index d6a94f17aa4..85a07a7dc94 100644
--- a/source/namework.c
+++ b/source/namework.c
@@ -622,7 +622,7 @@ static void process_reset_browser(struct packet_struct *p,char *buf)
for (d = subnetlist; d; d = d->next)
{
struct work_record *work;
- for (work=d->workgrouplist;work;work=remove_workgroup(d,work));
+ for (work=d->workgrouplist;work;work=remove_workgroup(d,work,True));
}
add_my_subnets(lp_workgroup());
}