Show correct error on connect() failure.
This commit is contained in:
parent
1133dd0b6c
commit
6ae6111b27
@ -107,7 +107,6 @@ iperf_strerror(int i_errno)
|
||||
break;
|
||||
case IECONNECT:
|
||||
snprintf(errstr, len, "unable to connect to server");
|
||||
herr = 1;
|
||||
perr = 1;
|
||||
break;
|
||||
case IEACCEPT:
|
||||
|
Loading…
Reference in New Issue
Block a user