]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Remove function format_integer as it is only used by pfmt and just a needless
authorRuediger Pluem <rpluem@apache.org>
Mon, 24 Sep 2007 19:30:59 +0000 (19:30 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 24 Sep 2007 19:30:59 +0000 (19:30 +0000)
  wrapper around apr_itoa. Thus replace its call by apr_itoa.

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

modules/loggers/mod_log_config.c

index 72bf5018597432745118c8ec936559d062b2df56..a3237fe18133c9921820a1fdfa501e24cd6947ee 100644 (file)
@@ -275,18 +275,13 @@ typedef struct {
     apr_array_header_t *conditions;
 } log_format_item;
 
-static char *format_integer(apr_pool_t *p, int i)
-{
-    return apr_itoa(p, i);
-}
-
 static char *pfmt(apr_pool_t *p, int i)
 {
     if (i <= 0) {
         return "-";
     }
     else {
-        return format_integer(p, i);
+        return apr_itoa(p, i);
     }
 }