diff options
author | cvs2svn Import User <samba-bugs@samba.org> | 1998-05-11 12:43:57 +0000 |
---|---|---|
committer | cvs2svn Import User <samba-bugs@samba.org> | 1998-05-11 12:43:57 +0000 |
commit | 7997659093e0a00d3c0cd46fe4e7775aeab1ba7c (patch) | |
tree | 6e4d3a0319f19af9c491ee35a2b872606ccd3b57 /source/lib/access.c | |
parent | ee09e9dadb69aaba5a751dd20ccc6d587d841bd6 (diff) | |
parent | 5c818b6caffa815a23506b756bba93debbf1d1a2 (diff) | |
download | samba-7997659093e0a00d3c0cd46fe4e7775aeab1ba7c.tar.gz |
This commit was manufactured by cvs2svn to create tagsamba-1.9.18p6
'release-1-9-18p6'.
Diffstat (limited to 'source/lib/access.c')
-rw-r--r-- | source/lib/access.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/lib/access.c b/source/lib/access.c index fe78700eddd..2fc93f4626b 100644 --- a/source/lib/access.c +++ b/source/lib/access.c @@ -60,19 +60,18 @@ BOOL check_access(int snum) if (!ret) { - extern int Client; - if (allow_access(denyl,allowl,client_name(Client),client_addr(Client))) + if (allow_access(denyl,allowl,client_name(),client_addr())) { if (snum >= 0) DEBUG(2,("Allowed connection from %s (%s) to %s\n", - client_name(Client),client_addr(Client), + client_name(),client_addr(), lp_servicename(snum))); ret = True; } else if (snum >= 0) DEBUG(0,("%s Denied connection from %s (%s) to %s\n", - timestring(), client_name(Client),client_addr(Client), + timestring(), client_name(),client_addr(), lp_servicename(snum))); } @@ -118,7 +117,7 @@ BOOL allow_access(char *deny_list,char *allow_list,char *cname,char *caddr) /* list_match - match an item against a list of tokens with exceptions */ /* (All modifications are marked with the initials "jkf") */ -static int list_match(char *list,char *item, int (*match_fn)(char *, char *)) +static int list_match(char *list,char *item, int (*match_fn)(char *,char *)) { char *tok; char *listcopy; /* jkf */ |