http: style fix: use space between arguments list (#1435)

This commit is contained in:
Liao Tonglang 2023-03-27 04:35:00 +08:00 committed by GitHub
parent 6e1826dd77
commit 9203d98ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
http.c
View File

@ -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));