From f3c71c43b085c8a4e6a5fa5819af73a74ae8ca92 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 31 May 2002 09:05:39 +0000 Subject: [PATCH] - Don't issue a notice when no file was uploaded --- main/rfc1867.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/rfc1867.c b/main/rfc1867.c index 6fad7eb3af..35252daaf0 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -729,7 +729,9 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) 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; } -- 2.50.1