From 3ec95df805a47f79c9d80e868351350b5ed5955b Mon Sep 17 00:00:00 2001 From: leitner Date: Wed, 24 Sep 2003 23:36:00 +0000 Subject: [PATCH] can't happen error should be -3 not -1 --- io/iob_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/iob_send.c b/io/iob_send.c index 41c9514..8a73d12 100644 --- a/io/iob_send.c +++ b/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. */