changeset 19331:dcda8b4092b3

kill a warning in getsockopt()
author ben
date Sat, 05 Aug 2006 08:56:54 +0000
parents 6f58dd7a5520
children a28ef75c9fe7
files stream/network.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/network.c	Sat Aug 05 08:49:40 2006 +0000
+++ b/stream/network.c	Sat Aug 05 08:56:54 2006 +0000
@@ -137,7 +137,8 @@
 int
 connect2Server_with_af(char *host, int port, int af,int verb) {
 	int socket_server_fd;
-	int err, err_len;
+	int err;
+        socklen_t err_len;
 	int ret,count = 0;
 	fd_set set;
 	struct timeval tv;