Fix error reporting of delayed send errors.
This commit is contained in:
parent
e9e0b554ab
commit
d7bab9b937
@ -147,7 +147,7 @@ netsettime(tval)
|
||||
if (!getsockopt(s,
|
||||
SOL_SOCKET, SO_ERROR, (char *)&err, &length) && err) {
|
||||
if (err != ECONNREFUSED)
|
||||
warn("send (delayed error)");
|
||||
warnc(err, "send (delayed error)");
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user