You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/12/15 11:28:59 UTC
svn commit: r1551011 - /httpd/httpd/trunk/modules/mappers/mod_dir.c
Author: jailletc36
Date: Sun Dec 15 10:28:58 2013
New Revision: 1551011
URL: http://svn.apache.org/r1551011
Log:
'ap_getword_conf' can not return NULL
Modified:
httpd/httpd/trunk/modules/mappers/mod_dir.c
Modified: httpd/httpd/trunk/modules/mappers/mod_dir.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_dir.c?rev=1551011&r1=1551010&r2=1551011&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_dir.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_dir.c Sun Dec 15 10:28:58 2013
@@ -66,7 +66,7 @@ static const char *add_index(cmd_parms *
/* peek to see if "disabled" is first in a series of arguments */
const char *tt = t;
const char *ww = ap_getword_conf(cmd->temp_pool, &tt);
- if (ww == NULL || !ww[0]) {
+ if (ww[0] == '\0') {
/* "disabled" is first, and alone */
apr_array_clear(d->index_names);
break;