summaryrefslogtreecommitdiff
path: root/source3/nmbsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r--source3/nmbsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbsync.c b/source3/nmbsync.c
index 2efb364bca..fa60b3ac35 100644
--- a/source3/nmbsync.c
+++ b/source3/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();