From: Niels Provos Date: Mon, 30 Mar 2009 17:36:22 +0000 (+0000) Subject: correct evbuffer_drain documentation from John Khvatov X-Git-Tag: release-2.0.1-alpha~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=994e85781c2b3ccd9736d7b751c4cc02b9f7c774;p=libevent correct evbuffer_drain documentation from John Khvatov svn:r1127 --- diff --git a/include/event2/buffer.h b/include/event2/buffer.h index d29dfd0d..3300c8cc 100644 --- a/include/event2/buffer.h +++ b/include/event2/buffer.h @@ -303,7 +303,6 @@ int evbuffer_add_vprintf(struct evbuffer *buf, const char *fmt, va_list ap); @param buf the evbuffer to be drained @param len the number of bytes to drain from the beginning of the buffer - @return 0 if successful, or -1 if an error occurred */ void evbuffer_drain(struct evbuffer *buf, size_t len);