summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2004-08-11 04:27:01 +0000
committerSara Golemon <pollita@php.net>2004-08-11 04:27:01 +0000
commit883e096ce6baeb8e86dd44e4f5452af8bde2fa6c (patch)
tree1d01a1239c687c3db4fe179a46fd79f6e0d7e409 /main/rfc1867.c
parent74de8bdb02b4422b4a2adf9e53fc25981681641a (diff)
downloadphp-git-883e096ce6baeb8e86dd44e4f5452af8bde2fa6c.tar.gz
Minor format specifier fixes
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r--main/rfc1867.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index c373639a0f..3843ff4710 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -786,7 +786,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
zend_llist header;
if (SG(request_info).content_length > SG(post_max_size)) {
- sapi_module.sapi_error(E_WARNING, "POST Content-Length of %d bytes exceeds the limit of %d bytes", SG(request_info).content_length, SG(post_max_size));
+ sapi_module.sapi_error(E_WARNING, "POST Content-Length of %ld bytes exceeds the limit of %ld bytes", SG(request_info).content_length, SG(post_max_size));
return;
}
@@ -981,7 +981,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
if (wlen < blen) {
#if DEBUG_FILE_UPLOAD
- sapi_module.sapi_error(E_NOTICE, "Only %d bytes were written, expected to write %ld", wlen, blen);
+ sapi_module.sapi_error(E_NOTICE, "Only %d bytes were written, expected to write %d", wlen, blen);
#endif
cancel_upload = UPLOAD_ERROR_C;
} else {