Hi all, The evbuffer_drain() returns void.
diff --git a/event.h b/event.h index b6a8144..3674216 100644 --- a/event.h +++ b/event.h @@ -1069,7 +1069,6 @@ int evbuffer_add_vprintf(struct evbuffer *, 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 *, size_t); Thanks -- John Khvatov _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users