summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-30 22:41:13 +0000
committerAndi Gutmans <andi@php.net>2000-03-30 22:41:13 +0000
commit9df7df3293302198a29b1657682dba49ce02aa6b (patch)
tree054ac1524387e60e5e591f5ddc9b84f80575c4ff /main/rfc1867.c
parent72b57c66f096e1a16e865de808296bfffbf3c41b (diff)
downloadphp-git-9df7df3293302198a29b1657682dba49ce02aa6b.tar.gz
- Baby steps... Use PHP_FOPEN()
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r--main/rfc1867.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 3f183cb7d2..bca099689d 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -254,7 +254,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary, zval *array_ptr)
} else if ((loc - ptr - 4) <= 0) {
fn = "none";
} else {
- fp = fopen(fn, "wb");
+ fp = PHP_FOPEN(fn, "wb");
if (!fp) {
php_error(E_WARNING, "File Upload Error - Unable to open temporary file [%s]", fn);
SAFE_RETURN;