changeset 469:ea8e25921b9c

Get \) right
author mmj
date Tue, 15 Feb 2005 23:49:16 +1100
parents c670130daa80
children acc8ac4bc040
files src/init_sockfd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/init_sockfd.c	Tue Feb 15 17:09:14 2005 +1100
+++ b/src/init_sockfd.c	Tue Feb 15 23:49:16 2005 +1100
@@ -59,6 +59,6 @@
 
 	on = 1;
 	if(setsockopt(*sockfd, SOL_SOCKET, SO_KEEPALIVE, (void *)&on,
-				sizeof(on) < 0))
+				sizeof(on)) < 0)
 		log_error(LOG_ARGS, "Could not set SO_KEEPALIVE");
 }