diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-07-04 19:41:16 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-07-04 19:41:16 +0000 |
commit | 166d70eba30a4b2773620f7cd9f0b84307b25472 (patch) | |
tree | 05862179b73da2b26b61d01fd97de12a727118a2 | |
parent | 7719fb06524a66ce5e3f30f3152ddb1e200c97f3 (diff) | |
download | samba-166d70eba30a4b2773620f7cd9f0b84307b25472.tar.gz samba-166d70eba30a4b2773620f7cd9f0b84307b25472.tar.xz samba-166d70eba30a4b2773620f7cd9f0b84307b25472.zip |
namebrowse.c was using variable work uninitialised.
remkproto'd proto.h
lkcl
-rw-r--r-- | source/include/proto.h | 3 | ||||
-rw-r--r-- | source/namebrowse.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index fa04e284d34..6f92de8586a 100644 --- a/source/include/proto.h +++ b/source/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/source/namebrowse.c b/source/namebrowse.c index 31ee9347ec5..4b3e691ce04 100644 --- a/source/namebrowse.c +++ b/source/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)) { |