summaryrefslogtreecommitdiff
path: root/lib/sockopt.c
diff options
context:
space:
mode:
authorpaul <paul>2004-09-21 15:43:13 +0000
committerpaul <paul>2004-09-21 15:43:13 +0000
commitb89e60c7abd457f97df8351db5610fc9c15178b2 (patch)
tree0dc4ab86a52a617f1acae71f707a172d560d1d1b /lib/sockopt.c
parentd9c427b21a5509a940178dedebec625bd7a9640a (diff)
2004-09-17 Paul Jakma <paul@dishone.st>
* sockopt.c: Add missing bracket
Diffstat (limited to 'lib/sockopt.c')
-rw-r--r--lib/sockopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sockopt.c b/lib/sockopt.c
index dbd5df57..dc18a69a 100644
--- a/lib/sockopt.c
+++ b/lib/sockopt.c
@@ -28,8 +28,8 @@ setsockopt_so_recvbuf (int sock, int size)
{
int ret;
- if ( (ret = setsockopt (sock, SOL_SOCKET, SO_RCVBUF, (char *)
- &size, sizeof (int)) < 0);
+ if ( (ret = setsockopt (sock, SOL_SOCKET, SO_RCVBUF, (char *)
+ &size, sizeof (int))) < 0);
zlog_err ("can't setsockopt SO_RCVBUF");
return ret;