From 0cf2068b3b678694f83089d911fd6617eccf2be6 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Wed, 19 Sep 2007 00:06:05 +0000 Subject: [PATCH] use right variable name --- ext/standard/dl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 4e4c8c2d3f..9df81c1013 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -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; } -- 2.40.0