diff --git a/ChangeLog b/ChangeLog index 6af8b2d9..526eb0be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Changes in 1.4.4-stable: + o Correct the documentation on buffer printf functions. + Changes in 1.4.3-stable: o include Content-Length in reply for HTTP/1.0 requests with keep-alive o Patch from Tani Hosokawa: make some functions in http.c threadsafe. diff --git a/event.h b/event.h index 451ca895..98b153f1 100644 --- a/event.h +++ b/event.h @@ -995,7 +995,7 @@ int evbuffer_add_buffer(struct evbuffer *, struct evbuffer *); @param buf the evbuffer that will be appended to @param fmt a format string @param ... arguments that will be passed to printf(3) - @return 0 if successful, or -1 if an error occurred + @return The number of bytes added if successful, or -1 if an error occurred. */ int evbuffer_add_printf(struct evbuffer *, const char *fmt, ...) #ifdef __GNUC__ @@ -1010,7 +1010,7 @@ int evbuffer_add_printf(struct evbuffer *, const char *fmt, ...) @param buf the evbuffer that will be appended to @param fmt a format string @param ap a varargs va_list argument array that will be passed to vprintf(3) - @return 0 if successful, or -1 if an error occurred + @return The number of bytes added if successful, or -1 if an error occurred. */ int evbuffer_add_vprintf(struct evbuffer *, const char *fmt, va_list ap);