[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] evbuffer_write with empty buffer



Hi,

I have a question about evbuffer_write.
I couldn't find it anywhere, but am I required to check if buffer is
not empty before calling evbuffer_write or it returning -1 (and not
setting errno!) in this situation is a bug?

Thanks,
Maciej Szeptuch
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.