projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee6e213
)
Prevent format specifier busting.
author
Colm MacCarthaigh
<colm@apache.org>
Tue, 6 Mar 2007 01:56:17 +0000
(
01:56
+0000)
committer
Colm MacCarthaigh
<colm@apache.org>
Tue, 6 Mar 2007 01:56:17 +0000
(
01:56
+0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514953
13f79535
-47bb-0310-9956-
ffa450edef68
support/logresolve.c
patch
|
blob
|
history
diff --git
a/support/logresolve.c
b/support/logresolve.c
index 8a385e0e465b41e53372c76baa42729920b076c9..f0310e973b82e10999d03f2830aaa03cf6a70897 100644
(file)
--- a/
support/logresolve.c
+++ b/
support/logresolve.c
@@
-227,7
+227,7
@@
int main(int argc, const char * const argv[])
/* See if we have it in our cache */
hostname = (char *) apr_hash_get(cache, line, APR_HASH_KEY_STRING);
if (hostname) {
- apr_file_printf(outfile, hostname);
+ apr_file_printf(outfile,
"%s",
hostname);
if (space)
apr_file_printf(outfile, " %s", space + 1);
cachehits++;