httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r510522 - /httpd/httpd/trunk/modules/proxy/ajp_msg.c
Date Thu, 22 Feb 2007 14:12:14 GMT
Author: jorton
Date: Thu Feb 22 06:12:14 2007
New Revision: 510522

URL: http://svn.apache.org/viewvc?view=rev&rev=510522
Log:
* modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header,
asj_msg_copy): Fix format string warnings on x86_64.

Modified:
    httpd/httpd/trunk/modules/proxy/ajp_msg.c

Modified: httpd/httpd/trunk/modules/proxy/ajp_msg.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/ajp_msg.c?view=diff&rev=510522&r1=510521&r2=510522
==============================================================================
--- httpd/httpd/trunk/modules/proxy/ajp_msg.c (original)
+++ httpd/httpd/trunk/modules/proxy/ajp_msg.c Thu Feb 22 06:12:14 2007
@@ -43,7 +43,7 @@
     rv = apr_palloc(pool, bl);
     apr_snprintf(rv, bl,
                  "ajp_msg_dump(): %s pos=%" APR_SIZE_T_FMT
-                 " len=%" APR_SIZE_T_FMT " max=%d\n",
+                 " len=%" APR_SIZE_T_FMT " max=%" APR_SIZE_T_FMT "\n",
                  err, msg->pos, msg->len, msg->max_size);
     bl -= strlen(rv);
     p = rv + strlen(rv);
@@ -112,7 +112,7 @@
     if (msglen > msg->max_size) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
                      "ajp_check_msg_header() incoming message is "
-                     "too big %" APR_SIZE_T_FMT ", max is %d",
+                     "too big %" APR_SIZE_T_FMT ", max is %" APR_SIZE_T_FMT,
                      msglen, msg->max_size);
         return AJP_ETOBIG;
     }
@@ -551,7 +551,7 @@
     if (smsg->len > smsg->max_size) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
                      "ajp_msg_copy(): destination buffer too "
-                     "small %" APR_SIZE_T_FMT ", max size is %d",
+                     "small %" APR_SIZE_T_FMT ", max size is %" APR_SIZE_T_FMT,
                      smsg->len, smsg->max_size);
         return  AJP_ETOSMALL;
     }



Mime
View raw message