diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-13 11:50:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-13 15:45:36 +0100 |
commit | 1399e6bdf52d2ef08d1cea918a171108c502900a (patch) | |
tree | 3726c790f8354742f877cfd6c2d0f135f4d5c908 /source3/include | |
parent | 1cf54ef4a69e78dff5a812d447b0f385b56c5ebd (diff) | |
download | samba-1399e6bdf52d2ef08d1cea918a171108c502900a.tar.gz samba-1399e6bdf52d2ef08d1cea918a171108c502900a.tar.bz2 samba-1399e6bdf52d2ef08d1cea918a171108c502900a.zip |
s3:param: don't reference conn_snum_used directly in load_usershare_shares()
This uses the same logic as lp_killunused().
metze
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 15cd7f9be0..448aa5df75 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1592,7 +1592,8 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx, struct security_descriptor **ppsd, bool *pallow_guest); int load_usershare_service(const char *servicename); -int load_usershare_shares(struct smbd_server_connection *sconn); +int load_usershare_shares(struct smbd_server_connection *sconn, + bool (*snumused) (struct smbd_server_connection *, int)); void gfree_loadparm(void); bool lp_load(const char *pszFname, bool global_only, |