mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 11:53:00 -04:00
Fix a snow leopard compile warning in the unit tests.
Reported by Sebastian Hahn.
This commit is contained in:
parent
0d744aa173
commit
7ae94450fd
@ -2248,7 +2248,7 @@ http_data_length_constraints_test(void)
|
||||
evhttp_set_max_body_size(http, 8190);
|
||||
req = evhttp_request_new(http_data_length_constraints_test_done, NULL);
|
||||
evhttp_add_header(req->output_headers, "Host", "somehost");
|
||||
evbuffer_add_printf(req->output_buffer, long_str);
|
||||
evbuffer_add_printf(req->output_buffer, "%s", long_str);
|
||||
if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/") == -1) {
|
||||
tt_abort_msg("Couldn't make request");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user