http.c: Minor formatting change

This commit is contained in:
Xavier Del Campo Romero 2023-03-08 18:52:36 +01:00
parent c4488c5e81
commit e0fc222f1d
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 2 deletions

3
http.c
View File

@ -311,8 +311,7 @@ static int write_start_line(struct http_ctx *const h, bool *const close)
struct write_ctx *const w = &h->wctx;
struct dynstr *const d = &w->d;
const size_t rem = d->len - w->n;
const int res = h->cfg.write(d->str + w->n, rem,
h->cfg.user);
const int res = h->cfg.write(d->str + w->n, rem, h->cfg.user);
if (res <= 0)
return rw_error(res, close);