aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-08 18:52:36 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-20 23:52:52 +0200
commitd4c74686b09760fd151b53879c6747118be80ed6 (patch)
treefea3f30342d9e60a3d4ea6df488c2320a7994983
parent4bcf440bf28dbca10e3c07690f1c153728652f74 (diff)
http.c: Minor formatting change
-rw-r--r--http.c3
1 files changed, 1 insertions, 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);