summaryrefslogtreecommitdiff
path: root/source/nmbsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nmbsync.c')
-rw-r--r--source/nmbsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbsync.c b/source/nmbsync.c
index 2efb364bcae..fa60b3ac35a 100644
--- a/source/nmbsync.c
+++ b/source/nmbsync.c
@@ -140,7 +140,7 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work,
{
uint32 local_type = local ? SV_TYPE_LOCAL_LIST_ONLY : 0;
- if (!d || !work || !AM_MASTER(work)) return;
+ if (!d || !work || !AM_ANY_MASTER(work)) return;
pid = getpid();
uid = getuid();