httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r454822 - /httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c
Date Tue, 10 Oct 2006 16:48:33 GMT
Author: pquerna
Date: Tue Oct 10 09:48:32 2006
New Revision: 454822

URL: http://svn.apache.org/viewvc?view=rev&rev=454822
Log:
Fix warnings from format strings when outputing apr_size_t.

Modified:
    httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c

Modified: httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c?view=diff&rev=454822&r1=454821&r2=454822
==============================================================================
--- httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c (original)
+++ httpd/mod_mbox/branches/surgery/module/mod_mbox_mime.c Tue Oct 10 09:48:32 2006
@@ -108,7 +108,7 @@
         ap_rputs("</a>", r);
     }
 
-    ap_rprintf(r, " (%s, %s, %u bytes)</li>\n", m->content_disposition,
+    ap_rprintf(r, " (%s, %s, %"APR_SIZE_T_FMT" bytes)</li>\n", m->content_disposition,
                mbox_cte_to_char(m->cte), m->body_len);
 
     if (!m->sub) {
@@ -140,13 +140,13 @@
 
     if (m->content_name) {
         ap_rprintf(r, "<part name=\"%s\" cd=\"%s\" cte=\"%s\" "
-                   "length=\"%u\" link=\"%s\" />\n",
+                   "length=\"%"APR_SIZE_T_FMT"\" link=\"%s\" />\n",
                    m->content_name, m->content_disposition,
                    mbox_cte_to_char(m->cte), m->body_len, link);
     }
     else {
         ap_rprintf(r, "<part ct=\"%s\" cd=\"%s\" cte=\"%s\" "
-                   "length=\"%u\" link=\"%s\" />\n",
+                   "length=\"%"APR_SIZE_T_FMT"\" link=\"%s\" />\n",
                    m->content_type, m->content_disposition,
                    mbox_cte_to_char(m->cte), m->body_len, link);
     }



Mime
View raw message