summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-04-19 23:13:38 +0000
committerGerald Carter <jerry@samba.org>2001-04-19 23:13:38 +0000
commit0fc676c3354c1cf75732a1f0fea89a09f432a819 (patch)
treecb162b724e3bd1a9eefee0b79a16d6600f691bd8 /source3
parentfac561cedce983aecc5244ff706794e819cfc76b (diff)
downloadsamba-0fc676c3354c1cf75732a1f0fea89a09f432a819.tar.gz
samba-0fc676c3354c1cf75732a1f0fea89a09f432a819.tar.bz2
samba-0fc676c3354c1cf75732a1f0fea89a09f432a819.zip
merge from 2.2
(This used to be commit 79f4c4ad74149f4b1a8a5a82d8ca8d2474a23ab3)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/access.c b/source3/lib/access.c
index cf5a8134d2..1714d70110 100644
--- a/source3/lib/access.c
+++ b/source3/lib/access.c
@@ -262,11 +262,11 @@ static BOOL only_ipaddrs_in_list(const char* list)
{
char *p;
/*
- * if we failed, make surethat it was not because the token
+ * if we failed, make sure that it was not because the token
* was a network/netmask pair. Only network/netmask pairs
* have a '/' in them
*/
- if ((p=strtok(tok, "/")) == NULL)
+ if ((p=strchr(tok, '/')) == NULL)
{
only_ip = False;
DEBUG(3,("only_ipaddrs_in_list: list [%s] has non-ip address %s\n", list, p));