From: Martin Kraemer Date: Sat, 23 Oct 1999 21:27:38 +0000 (+0000) Subject: Be on the safe side X-Git-Tag: 1.3.10~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d4a013c2ef74fad803c8fe8bef16dcd320b7e5;p=thirdparty%2Fapache%2Fhttpd.git Be on the safe side git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84028 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index 2830a42fe76..da18e8fa0eb 100644 --- a/server/log.c +++ b/server/log.c @@ -409,7 +409,7 @@ static void log_error_core(const char *file, int line, int level, "%s(%d): ", file, line); } #endif /* TPF */ - if (r) { + if (r && r->connection) { /* XXX: TODO: add a method of selecting whether logged client * addresses are in dotted quad or resolved form... dotted * quad is the most secure, which is why I'm implementing it