can't happen error should be -3 not -1
This commit is contained in:
parent
1de7812da2
commit
3ec95df805
@ -30,7 +30,7 @@ int64 iob_send(int64 s,io_batch* b) {
|
||||
total=0;
|
||||
for (;;) {
|
||||
if (!(e=array_get(&b->b,sizeof(io_entry),b->next)))
|
||||
return -1; /* can't happen error */
|
||||
return -3; /* can't happen error */
|
||||
#ifdef BSD_SENDFILE
|
||||
/* BSD sendfile can send headers and trailers. If we run on BSD, we
|
||||
* should try to exploit this. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user