From 03f8883791d6b32b94234ca86a0bb7eca431adde Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 8 Oct 1999 12:56:40 +0000 Subject: [PATCH] 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 --- server/listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/listen.c b/server/listen.c index 18811a3c41..5ded01b0af 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, " -- 2.50.1