From 0fc676c3354c1cf75732a1f0fea89a09f432a819 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 19 Apr 2001 23:13:38 +0000 Subject: merge from 2.2 (This used to be commit 79f4c4ad74149f4b1a8a5a82d8ca8d2474a23ab3) --- source3/lib/access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/access.c') 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)); -- cgit