diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/sockopt.c | 4 |
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; |