diff options
Diffstat (limited to 'ext/filepro/filepro.c')
| -rw-r--r-- | ext/filepro/filepro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index 3de10645e4..f08812ed97 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -210,7 +210,7 @@ PHP_FUNCTION(filepro) RETURN_FALSE; } - if (!(fp = PHP_FOPEN(workbuf, "r"))) { + if (!(fp = V_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open map: [%d] %s", errno, strerror(errno)); RETURN_FALSE; @@ -306,7 +306,7 @@ PHP_FUNCTION(filepro_rowcount) RETURN_FALSE; } - if (!(fp = PHP_FOPEN(workbuf, "r"))) { + if (!(fp = V_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open key: [%d] %s", errno, strerror(errno)); RETURN_FALSE; @@ -516,7 +516,7 @@ PHP_FUNCTION(filepro_retrieve) RETURN_FALSE; } - if (!(fp = PHP_FOPEN(workbuf, "r"))) { + if (!(fp = V_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open key: [%d] %s", errno, strerror(errno)); fclose(fp); |
