oops, ifd is gone

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1935 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.17
Jan Kneschke 2007-08-17 22:23:28 +00:00
parent 0177a96f5d
commit 8392673b7e
1 changed files with 0 additions and 2 deletions

View File

@ -168,11 +168,9 @@ int network_write_chunkqueue_freebsdsendfile(server *srv, connection *con, int f
case EAGAIN:
break;
case ENOTCONN:
close(ifd);
return -2;
default:
log_error_write(srv, __FILE__, __LINE__, "ssd", "sendfile: ", strerror(errno), errno);
close(ifd);
return -1;
}
}