mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 20:07:56 -04:00
Consistentize tabs
This commit is contained in:
parent
22f4af6580
commit
bb0d2b4e85
3
http.c
3
http.c
@ -3074,7 +3074,8 @@ evhttp_new_object(void)
|
||||
http->timeout = -1;
|
||||
evhttp_set_max_headers_size(http, EV_SIZE_MAX);
|
||||
evhttp_set_max_body_size(http, EV_SIZE_MAX);
|
||||
evhttp_set_allowed_methods(http, EVHTTP_REQ_GET |
|
||||
evhttp_set_allowed_methods(http,
|
||||
EVHTTP_REQ_GET |
|
||||
EVHTTP_REQ_POST |
|
||||
EVHTTP_REQ_HEAD |
|
||||
EVHTTP_REQ_PUT |
|
||||
|
@ -754,7 +754,8 @@ const struct timeval *event_base_init_common_timeout(struct event_base *base,
|
||||
@param realloc_fn A replacement for realloc
|
||||
@param free_fn A replacement for free.
|
||||
**/
|
||||
void event_set_mem_functions(void *(*malloc_fn)(size_t sz),
|
||||
void event_set_mem_functions(
|
||||
void *(*malloc_fn)(size_t sz),
|
||||
void *(*realloc_fn)(void *ptr, size_t sz),
|
||||
void (*free_fn)(void *ptr));
|
||||
#define EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED
|
||||
|
Loading…
x
Reference in New Issue
Block a user