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 <[EMAIL PROTECTED]>                              |
    +----------------------------------------------------------------------+
  */
-/* $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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to