diff options
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r-- | main/rfc1867.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |