From: Trond Norbye Date: Tue, 24 Feb 2009 15:07:24 +0000 (+0100) Subject: Fixed typo: SO_RCVBUF instead of SO_SNDBUF X-Git-Tag: 0.27~27 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=029bdf130a14e3d9e89f0d45895235992ef22f84;p=m6w6%2Flibmemcached Fixed typo: SO_RCVBUF instead of SO_SNDBUF --- 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); }