From e0fc222f1d3dc1a6672bdbbd7009b08cfd49d776 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 8 Mar 2023 18:52:36 +0100 Subject: [PATCH] http.c: Minor formatting change --- http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/http.c b/http.c index cbef2bc..dae33d1 100644 --- a/http.c +++ b/http.c @@ -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);