mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
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:
parent
a684cb27e1
commit
a63db431a2
@ -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.
|
||||
|
4
event.h
4
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user