nhttpd: fix range handling

This commit is contained in:
martii
2014-07-24 20:27:40 +02:00
committed by [CST] Focus
parent ff46970457
commit 4bf0d833cd
2 changed files with 3 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ bool CySocket::SendFile(int filed, off_t start, off_t size) {
if (errno != EPIPE)
perror("sendfile failed");
if (errno != EINVAL)
return false;
return false;
break;
} else {
BytesSend += written;