From: Martin Kraemer Date: Wed, 7 Jul 1999 15:31:58 +0000 (+0000) Subject: Sorry, but using C comments in place of C++ comments X-Git-Tag: 1.3.7~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a67f870eb802a25c34f6b520edccd46146b4977b;p=thirdparty%2Fapache%2Fhttpd.git Sorry, but using C comments in place of C++ comments makes life for me and my compiler much easier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83440 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/connection.c b/server/connection.c index daf7ed6ef9e..599d605db5f 100644 --- a/server/connection.c +++ b/server/connection.c @@ -100,14 +100,14 @@ IMPLEMENT_VOID_HOOK(pre_connection,(conn_rec *c),(c),1) #ifdef USE_SO_LINGER #define NO_LINGCLOSE /* The two lingering options are exclusive */ -static void sock_enable_linger(int s) // ZZZZZ abstract the socket, s +static void sock_enable_linger(int s) /* // ZZZZZ abstract the socket, s */ { - struct linger li; // ZZZZZ SocketOptions... + struct linger li; /* // ZZZZZ SocketOptions... */ li.l_onoff = 1; li.l_linger = MAX_SECS_TO_LINGER; - if (setsockopt(s, SOL_SOCKET, SO_LINGER, // ZZZZZ abstract, return SUCCESS or not + if (setsockopt(s, SOL_SOCKET, SO_LINGER, /* // ZZZZZ abstract, return SUCCESS or not */ (char *) &li, sizeof(struct linger)) < 0) { ap_log_error(APLOG_MARK, APLOG_WARNING, server_conf, "setsockopt: (SO_LINGER)");