wrowe 01/08/23 20:45:21
Modified: server core.c
Log:
Will I ever get my str*cmp semantics right? Not at this hour...
Revision Changes Path
1.44 +1 -1 httpd-2.0/server/core.c
Index: core.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/core.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- core.c 2001/08/24 03:40:18 1.43
+++ core.c 2001/08/24 03:45:21 1.44
@@ -135,7 +135,7 @@
conf->d_is_fnmatch = conf->d ? (apr_is_fnmatch(conf->d) != 0) : 0;
/* On all platforms, "/" is (at minimum) a faux root */
conf->d_is_absolute = conf->d ? (ap_os_is_path_absolute(a, conf->d)
- || strcmp(conf->d, "/")) : 0;
+ || (strcmp(conf->d, "/") == 0)) : 0;
conf->d_components = conf->d ? ap_count_dirs(conf->d) : 0;
conf->opts = dir ? OPT_UNSET : OPT_UNSET|OPT_ALL;
|