1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 04:49:02 +00:00

Fix Nsock's make check: wrong value tested

This commit is contained in:
dmiller
2014-11-17 13:32:41 +00:00
parent f6d70cd3e6
commit 59de1a50de

View File

@@ -93,7 +93,7 @@ static int connect_tcp_failure(void *tdata) {
(struct sockaddr *)&peer, 0, PORT_TCP);
nsock_loop(ctd->nsp, 4000);
AssertEqual(ctd->connect_result, EINVAL);
AssertEqual(ctd->connect_result, -EINVAL);
return 0;
}