cirumstance where a log line is of the form "nn.nn.nn.nn ".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514952
13f79535-47bb-0310-9956-
ffa450edef68
/* 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, "%s %s", hostname, space + 1);
+ apr_file_printf(outfile, hostname);
+ if (space)
+ apr_file_printf(outfile, " %s", space + 1);
cachehits++;
continue;
}