summaryrefslogtreecommitdiff
path: root/ext/filepro/filepro.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/filepro/filepro.c')
-rw-r--r--ext/filepro/filepro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index e8d2dfc7cf..3de10645e4 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -210,7 +210,7 @@ PHP_FUNCTION(filepro)
RETURN_FALSE;
}
- if (!(fp = fopen(workbuf, "r"))) {
+ if (!(fp = PHP_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 = fopen(workbuf, "r"))) {
+ if (!(fp = PHP_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 = fopen(workbuf, "r"))) {
+ if (!(fp = PHP_FOPEN(workbuf, "r"))) {
php_error(E_WARNING, "filePro: cannot open key: [%d] %s",
errno, strerror(errno));
fclose(fp);