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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user