From: David Reid Date: Fri, 8 Oct 1999 12:56:40 +0000 (+0000) Subject: I think this was missed earlier, and as BeOS doesn't define SO_SNDBUF it was stopping... X-Git-Tag: 1.3.10~292 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f8883791d6b32b94234ca86a0bb7eca431adde;p=thirdparty%2Fapache%2Fhttpd.git I think this was missed earlier, and as BeOS doesn't define SO_SNDBUF it was stopping the build. APR_SO_SNDBUF is defined and so all is well again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83949 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/listen.c b/server/listen.c index 18811a3c41b..5ded01b0af3 100644 --- a/server/listen.c +++ b/server/listen.c @@ -110,7 +110,7 @@ static ap_status_t make_sock(ap_context_t *p, ap_listen_rec *server) * If no size is specified, use the kernel default. */ if (send_buffer_size) { - stat = ap_setsocketopt(s, SO_SNDBUF, send_buffer_size); + stat = ap_setsocketopt(s, APR_SO_SNDBUF, send_buffer_size); if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) { ap_log_error(APLOG_MARK, APLOG_WARNING, NULL, "make_sock: failed to set SendBufferSize for %s, "