]> granicus.if.org Git - apache/commit
Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and is faster.
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 6 Jan 2013 18:08:46 +0000 (18:08 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 6 Jan 2013 18:08:46 +0000 (18:08 +0000)
commitb3f29e2bd8bab33cc2b0bca7da833d7fa8ebd72b
tree6415f5f839e74051c6717a725860bd8e83e0ddde
parent67246c45cdf1e4f62a642897ecbe983a448e3edd
Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and is faster.

No real speedup should be achieved on production machine, because this is done
only for characters that need to be escaped.
However, this will close PR 50919.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429564 13f79535-47bb-0310-9956-ffa450edef68
modules/loggers/mod_log_forensic.c