mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fix Nsock's make check: wrong value tested
This commit is contained in:
parent
f6d70cd3e6
commit
59de1a50de
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue