summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/namebrowse.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index fa04e284d3..6f92de8586 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1,5 +1,8 @@
/* This file is automatically generated with "make proto". DO NOT EDIT */
+
+/*The following definitions come from - */
+
BOOL check_access(int snum);
BOOL allow_access(char *deny_list,char *allow_list,struct from_host *client);
BOOL fromhost(int sock,struct from_host *f);
diff --git a/source3/namebrowse.c b/source3/namebrowse.c
index 31ee9347ec..4b3e691ce0 100644
--- a/source3/namebrowse.c
+++ b/source3/namebrowse.c
@@ -167,6 +167,8 @@ static void start_sync_browse_entry(struct browse_cache_record *b)
if (!(d = find_subnet(b->ip))) return;
+ if (!(work = find_workgroupstruct(d, b->group, False))) return;
+
/* only sync if we are the master */
if (AM_MASTER(work)) {