Browse code

core:forward.c Small typo regarding tested socket

Marius Zbihlei authored on 02/02/2010 09:23:59
Showing 1 changed files
... ...
@@ -173,7 +173,7 @@ retry:
173 173
 				sock_inet=-1;
174 174
 			}
175 175
 #ifdef USE_IPV6
176
-			if (sock_inet>=0){
176
+			if (sock_inet6>=0){
177 177
 				close(sock_inet6);
178 178
 				sock_inet6=-1;
179 179
 			}