r19300@catbus: nickm | 2008-04-10 14:54:25 -0400

Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464


svn:r704
This commit is contained in:
Nick Mathewson 2008-04-10 19:24:25 +00:00
parent a684cb27e1
commit a63db431a2
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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);