]> granicus.if.org Git - apache/commitdiff
this should save one or two cycles
authorAndré Malo <nd@apache.org>
Tue, 25 May 2004 19:39:50 +0000 (19:39 +0000)
committerAndré Malo <nd@apache.org>
Tue, 25 May 2004 19:39:50 +0000 (19:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103767 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_config.c

index 5e0894ef513ad31fdf4545dfd16ca6ef92e93dde..8b898129fce43c900484f59c8e50f1fc2bc08972 100644 (file)
@@ -393,7 +393,7 @@ static const char *log_bytes_sent(request_rec *r, char *a)
         return "0";
     }
     else {
-        return apr_psprintf(r->pool, "%" APR_OFF_T_FMT, r->bytes_sent);
+        return apr_off_t_toa(r->pool, r->bytes_sent);
     }
 }