mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
namebrowse.c was using variable work uninitialised.
remkproto'd proto.h lkcl
This commit is contained in:
parent
7719fb0652
commit
166d70eba3
@ -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);
|
||||
|
@ -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)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user