summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2003-12-16 19:41:26 +0000
committerSara Golemon <pollita@php.net>2003-12-16 19:41:26 +0000
commitd516184885028d97bc0503f9ecca66dfbf3a204c (patch)
tree5e1d725762cb6bd5a57050efd800e33650271583
parent45cd627569ba59f093cdc5dbb2b6f6c696ae9851 (diff)
downloadphp-git-d516184885028d97bc0503f9ecca66dfbf3a204c.tar.gz
Fail loudly, silence bogus bugs.
-rw-r--r--ext/ftp/ftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index a1c632acde..ff4cac8469 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -1615,6 +1615,7 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
if ((tmpfp = tmpfile()) == NULL) {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to create temporary file. Check permissions in temporary files directory.");
return NULL;
}