Browse Source

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

master
Felix von Leitner 18 years ago
parent
commit
fb058ef5c0
  1. 2
      io/iob_send.c

2
io/iob_send.c

@ -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