can't happen error should be -3 not -1

master
Felix von Leitner 20 years ago
parent c81c148631
commit fb058ef5c0

@ -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…
Cancel
Save