Fix error reporting of delayed send errors.

This commit is contained in:
fenner 2001-03-26 16:18:01 +00:00
parent e9e0b554ab
commit d7bab9b937

View File

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