2
0
Fork 0

Fix typos in sendfile

personal/stbuehler/wip
Stefan Bühler 2008-11-17 21:42:52 +01:00
parent 99733ef5a7
commit ec16ebea3c
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ static network_sendfile_result lighty_sendfile(vrequest *vr, int fd, int filefd,
case EAGAIN:
if (r) {
*wrote = r;
return NSR_SUCCSES;
return NSR_SUCCESS;
}
return NSR_WAIT_FOR_EVENT;
case ENOTCONN:
@ -120,7 +120,7 @@ static network_sendfile_result lighty_sendfile(vrequest *vr, int fd, int filefd,
case EAGAIN:
if (bytes) {
*wrote = bytes;
return NSR_SUCCSES;
return NSR_SUCCESS;
}
return NSR_WAIT_FOR_EVENT;
case ENOTCONN: