]> granicus.if.org Git - php/commitdiff
- Fix build (filename is a zval * here, not a zval** like in 5_2)
authorJohannes Schlüter <johannes@php.net>
Wed, 19 Sep 2007 01:08:38 +0000 (01:08 +0000)
committerJohannes Schlüter <johannes@php.net>
Wed, 19 Sep 2007 01:08:38 +0000 (01:08 +0000)
ext/standard/dl.c

index 9df81c1013f379e4eb7fd64db19d4dc35ebe7762..6765087c17f4727813e6a6974325455529f1521f 100644 (file)
@@ -63,7 +63,7 @@ PHP_FUNCTION(dl)
                return;
        }
 
-       if (Z_STRLEN_PP(filename) >= MAXPATHLEN) {
+       if (Z_STRLEN_P(filename) >= MAXPATHLEN) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "File name exceeds the maximum allowed length of %d characters", MAXPATHLEN);
                RETURN_FALSE;
        }