diff options
Diffstat (limited to 'source3/lib/access.c')
-rw-r--r-- | source3/lib/access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/access.c b/source3/lib/access.c index cf5a8134d26..1714d701102 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)); |