From: Joe Orton Date: Sat, 17 Jul 2004 08:29:48 +0000 (+0000) Subject: * server/core.c (set_allow_opts): Fix gcc warning. X-Git-Tag: pre_ajp_proxy~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e414751921450c06e675fa36d4b4c694b6acfca;p=apache * server/core.c (set_allow_opts): Fix gcc warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104313 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 78eed887e4..e6c664396c 100644 --- a/server/core.c +++ b/server/core.c @@ -1235,7 +1235,7 @@ static const char *set_allow_opts(cmd_parms *cmd, allow_options_t *opts, char *w, *p = (char *) l; char *tok_state; - while (w = apr_strtok(p, ",", &tok_state)) { + while ((w = apr_strtok(p, ",", &tok_state)) != NULL) { if (first) { p = NULL;