mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
http: style fix: use space between arguments list (#1435)
This commit is contained in:
parent
6e1826dd77
commit
9203d98ff8
2
http.c
2
http.c
@ -582,7 +582,7 @@ evhttp_maybe_add_content_length_header(struct evkeyvalq *headers,
|
|||||||
size_t content_length)
|
size_t content_length)
|
||||||
{
|
{
|
||||||
if (evhttp_find_header(headers, "Transfer-Encoding") == NULL &&
|
if (evhttp_find_header(headers, "Transfer-Encoding") == NULL &&
|
||||||
evhttp_find_header(headers, "Content-Length") == NULL) {
|
evhttp_find_header(headers, "Content-Length") == NULL) {
|
||||||
char len[22];
|
char len[22];
|
||||||
evutil_snprintf(len, sizeof(len), EV_SIZE_FMT,
|
evutil_snprintf(len, sizeof(len), EV_SIZE_FMT,
|
||||||
EV_SIZE_ARG(content_length));
|
EV_SIZE_ARG(content_length));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user