# HG changeset patch # User ben # Date 1154768214 0 # Node ID dcda8b4092b399d41e540b9e0c2eb177f5c9f582 # Parent 6f58dd7a5520ed4c4f2978b0182dc9ea995d7e56 kill a warning in getsockopt() diff -r 6f58dd7a5520 -r dcda8b4092b3 stream/network.c --- 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;