From 029bdf130a14e3d9e89f0d45895235992ef22f84 Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Tue, 24 Feb 2009 16:07:24 +0100 Subject: [PATCH] Fixed typo: SO_RCVBUF instead of SO_SNDBUF --- libmemcached/memcached_connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/memcached_connect.c b/libmemcached/memcached_connect.c index ca354200..753392b3 100644 --- a/libmemcached/memcached_connect.c +++ b/libmemcached/memcached_connect.c @@ -115,7 +115,7 @@ static memcached_return set_socket_options(memcached_server_st *ptr) { int error; - error= setsockopt(ptr->fd, SOL_SOCKET, SO_SNDBUF, + error= setsockopt(ptr->fd, SOL_SOCKET, SO_RCVBUF, &ptr->root->recv_size, (socklen_t)sizeof(int)); WATCHPOINT_ASSERT(error == 0); } -- 2.30.2