Explorar o código

core:forward.c Small typo regarding tested socket

Marius Zbihlei %!s(int64=15) %!d(string=hai) anos
pai
achega
cd94c13eb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      forward.c

+ 1 - 1
forward.c

@@ -173,7 +173,7 @@ retry:
 				sock_inet=-1;
 			}
 #ifdef USE_IPV6
-			if (sock_inet>=0){
+			if (sock_inet6>=0){
 				close(sock_inet6);
 				sock_inet6=-1;
 			}