cvs: php4 /main rfc1867.c
| From: | Derick Rethans | Date: | Fri, 31 May 2002 09:05:40 +0000 |
| Subject: | cvs: php4 /main rfc1867.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12179@lists.php.net to get a copy of this message | ||
derick Fri May 31 05:05:40 2002 EDT
Modified files:
/php4/main rfc1867.c
Log:
- Don't issue a notice when no file was uploaded
Index: php4/main/rfc1867.c
diff -u php4/main/rfc1867.c:1.99 php4/main/rfc1867.c:1.100
--- php4/main/rfc1867.c:1.99 Sat May 11 07:58:16 2002
+++ php4/main/rfc1867.c Fri May 31 05:05:39 2002
@@ -16,7 +16,7 @@
| Jani Taskinen <sniper@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: rfc1867.c,v 1.99 2002/05/11 11:58:16 zeev Exp $ */
+/* $Id: rfc1867.c,v 1.100 2002/05/31 09:05:39 derick Exp $ */
/*
* This product includes software developed by the Apache Group
@@ -729,7 +729,9 @@
cancel_upload = 0;
if(strlen(filename) == 0) {
+#ifdef DEBUG_FILE_UPLOAD
sapi_module.sapi_error(E_NOTICE, "No file uploaded");
+#endif
cancel_upload = UPLOAD_ERROR_D;
}