mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
r19301@catbus: nickm | 2008-04-10 14:54:46 -0400
Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464. svn:r705
This commit is contained in:
parent
812d2fd8fd
commit
0c843507ab
@ -62,7 +62,9 @@ Changes in current version:
|
||||
o make event methods static so that they are not exported; from Andrei Nigmatulin
|
||||
o make RPC replies use application/octet-stream as mime type
|
||||
o do not delete uninitialized timeout event in evdns
|
||||
|
||||
o Correct the documentation on buffer printf functions.
|
||||
|
||||
|
||||
Changes in 1.4.0:
|
||||
o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.
|
||||
o demote most http warnings to debug messages
|
||||
|
@ -196,7 +196,8 @@ int evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf);
|
||||
@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 *buf, const char *fmt, ...)
|
||||
#ifdef __GNUC__
|
||||
@ -211,7 +212,7 @@ int evbuffer_add_printf(struct evbuffer *buf, 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 *buf, const char *fmt, va_list ap);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user