]> granicus.if.org Git - php/commitdiff
use right variable name
authorStanislav Malyshev <stas@php.net>
Wed, 19 Sep 2007 00:06:05 +0000 (00:06 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 19 Sep 2007 00:06:05 +0000 (00:06 +0000)
ext/standard/dl.c

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