cvs: php-src(PHP_4_3) /main rfc1867.c

From: Date: Wed, 11 Aug 2004 04:31:03 +0000
Subject: cvs: php-src(PHP_4_3) /main rfc1867.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28274@lists.php.net to get a copy of this message
pollita Wed Aug 11 00:31:03 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/main rfc1867.c Log: MFH: Fix format specifiers http://cvs.php.net/diff.php/php-src/main/rfc1867.c?r1=1.122.2.23&r2=1.122.2.24&ty=u Index: php-src/main/rfc1867.c diff -u php-src/main/rfc1867.c:1.122.2.23 php-src/main/rfc1867.c:1.122.2.24 --- php-src/main/rfc1867.c:1.122.2.23 Sun Jul 25 15:19:32 2004 +++ php-src/main/rfc1867.c Wed Aug 11 00:31:03 2004 @@ -16,7 +16,7 @@ | Jani Taskinen <sniper@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: rfc1867.c,v 1.122.2.23 2004/07/25 19:19:32 iliaa Exp $ */ +/* $Id: rfc1867.c,v 1.122.2.24 2004/08/11 04:31:03 pollita Exp $ */ /* * This product includes software developed by the Apache Group @@ -781,7 +781,7 @@ 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; } @@ -969,7 +969,7 @@ wlen = fwrite(buff, 1, blen, fp); if (wlen < blen) { - sapi_module.sapi_error(E_WARNING, "Only %d bytes were written, expected to write %ld", wlen, blen); + sapi_module.sapi_error(E_WARNING, "Only %d bytes were written, expected to write %d", wlen, blen); cancel_upload = UPLOAD_ERROR_C; } else { total_bytes += wlen;

« previous php.cvs (#28274) next »