From: Ruediger Pluem Date: Mon, 24 Sep 2007 19:30:59 +0000 (+0000) Subject: * Remove function format_integer as it is only used by pfmt and just a needless X-Git-Tag: 2.3.0~1398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5481e4b70ae0e4bb73d8bb3a5ccad061aa9a0d7f;p=thirdparty%2Fapache%2Fhttpd.git * Remove function format_integer as it is only used by pfmt and just a needless 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 --- diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 72bf5018597..a3237fe1813 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/loggers/mod_log_config.c @@ -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); } }