From d516184885028d97bc0503f9ecca66dfbf3a204c Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 16 Dec 2003 19:41:26 +0000 Subject: [PATCH] Fail loudly, silence bogus bugs. --- ext/ftp/ftp.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1