From: Martin Kraemer Date: Mon, 11 Oct 1999 22:54:29 +0000 (+0000) Subject: I cannot solve this right now. But this variable sure was uninitialized X-Git-Tag: 1.3.10~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c7d0c6fcc64a59ec360b3009d6793994f0a409;p=thirdparty%2Fapache%2Fhttpd.git I cannot solve this right now. But this variable sure was uninitialized git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83971 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/listen.c b/server/listen.c index c016ccaf7c9..b90e83fe9ff 100644 --- a/server/listen.c +++ b/server/listen.c @@ -74,6 +74,8 @@ static ap_status_t make_sock(ap_context_t *p, ap_listen_rec *server) char addr[512]; ap_status_t stat; + ap_cpystrn(addr, "[@main/listen.c:make_sock(): inet_ntoa(server->sin_addr)]", sizeof addr); + stat = ap_setsocketopt(s, APR_SO_REUSEADDR, one); if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) { ap_log_error(APLOG_MARK, APLOG_CRIT, NULL,