2004-09-17 Paul Jakma <paul@dishone.st>
* sockopt.c: Add missing bracket
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a4ed5dd..149403f 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 dbd5df5..dc18a69 100644
--- a/lib/sockopt.c
+++ b/lib/sockopt.c
@@ -28,8 +28,8 @@
{
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;