Fix error reporting of delayed send errors.

This commit is contained in:
Bill Fenner 2001-03-26 16:18:01 +00:00
parent b8cba406f2
commit 57c6e666cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74819

View File

@ -147,7 +147,7 @@ loop:
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;
}