This commit is contained in:
Max Lv
2016-05-23 14:33:40 +08:00
parent bddff70661
commit f1464caca7
+1 -1
View File
@@ -488,7 +488,7 @@ static remote_t *connect_to_remote(struct addrinfo *res,
return NULL;
}
*connected = r != 0;
*connected = r == 0;
}
return remote;