silence warnings under bsd
This commit is contained in:
parent
1824bcbd0c
commit
e394b3cb06
@ -127,7 +127,7 @@ int64 iob_send(int64 s,io_batch* b) {
|
|||||||
io_entry* E;
|
io_entry* E;
|
||||||
struct iovec* v;
|
struct iovec* v;
|
||||||
uint64 total;
|
uint64 total;
|
||||||
int64 sent;
|
int64 sent=0;
|
||||||
size_t i;
|
size_t i;
|
||||||
size_t headers;
|
size_t headers;
|
||||||
#ifdef MSG_MORE
|
#ifdef MSG_MORE
|
||||||
@ -203,7 +203,9 @@ int64 iob_send(int64 s,io_batch* b) {
|
|||||||
if (errno!=EAGAIN)
|
if (errno!=EAGAIN)
|
||||||
sent=-3;
|
sent=-3;
|
||||||
else {
|
else {
|
||||||
|
#ifdef DEBUGONLINUX
|
||||||
eagain:
|
eagain:
|
||||||
|
#endif
|
||||||
io_eagain_write(s);
|
io_eagain_write(s);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user