]> granicus.if.org Git - apache/commitdiff
apr_psprintf doesn't understand %lld, so we should be using %ld
authorRyan Bloom <rbb@apache.org>
Wed, 18 Oct 2000 18:10:00 +0000 (18:10 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 18 Oct 2000 18:10:00 +0000 (18:10 +0000)
PR: 6653
Submitted by:  Tomas "�gren" <stric@ing.umu.se>
Reviewed by:  Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86649 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_config.c

index 87eb1ab5ef6dba3ac60d1c693395a553e34e1d24..b5cc19fb27393a6c5f4ca9e2b5647d233addd26b 100644 (file)
@@ -433,7 +433,7 @@ static const char *log_request_time(request_rec *r, char *a)
 
 static const char *log_request_duration(request_rec *r, char *a)
 {
-    return apr_psprintf(r->pool, "%lld", (apr_now() - r->request_time) 
+    return apr_psprintf(r->pool, "%ld", (apr_now() - r->request_time) 
                                              / APR_USEC_PER_SEC);
 }