summaryrefslogtreecommitdiffstats
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
parentd9c427b21a5509a940178dedebec625bd7a9640a (diff)
downloadquagga-b89e60c7abd457f97df8351db5610fc9c15178b2.tar.bz2
quagga-b89e60c7abd457f97df8351db5610fc9c15178b2.tar.xz
2004-09-17 Paul Jakma <paul@dishone.st>
* sockopt.c: Add missing bracket
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/sockopt.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a4ed5dd9..149403f6 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,9 @@
2004-09-17 Paul Jakma <paul@dishone.st>
+ * sockopt.c: Add missing bracket
+
+2004-09-17 Paul Jakma <paul@dishone.st>
+
* sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
2004-09-13 Paul Jakma <paul@dishone.st>
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;