1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Fix Nsock's make check: wrong value tested

This commit is contained in:
dmiller
2014-11-17 13:25:35 +00:00
parent 85bb2d388d
commit 2b9fade75b
9 changed files with 6 additions and 77 deletions

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;
}