]> granicus.if.org Git - php/commitdiff
remove misprint parentheses
authorAnatol Belski <ab@php.net>
Thu, 2 Oct 2014 11:50:46 +0000 (13:50 +0200)
committerAnatol Belski <ab@php.net>
Fri, 3 Oct 2014 17:23:33 +0000 (19:23 +0200)
Zend/zend_virtual_cwd.h

index f40a2deb7e4ac7ae8090fdf3b593a9901f32ca3a..96ac6faa30874591d92678759055b441cb8c7f03 100644 (file)
@@ -70,7 +70,7 @@ typedef unsigned short mode_t;
 #define IS_UNC_PATH(path, len) \
        (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
 #define IS_ABSOLUTE_PATH(path, len) \
-       (len >= 2 && ((/* is local */isalpha(path[0]) && path[1] == ':') || /* is UNC */IS_SLASH(path[0]) && IS_SLASH(path[1])))
+       (len >= 2 && (/* is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) && IS_SLASH(path[1])))
 
 #elif defined(NETWARE)
 #ifdef HAVE_DIRENT_H