diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-08 18:52:36 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-08 18:52:36 +0100 |
| commit | e0fc222f1d3dc1a6672bdbbd7009b08cfd49d776 (patch) | |
| tree | af82bb230c2e493a0a09ebd9a336eec7292615e1 /http.c | |
| parent | c4488c5e810c8a16ff331a7972b02658814adeb1 (diff) | |
| download | slcl-e0fc222f1d3dc1a6672bdbbd7009b08cfd49d776.tar.gz | |
http.c: Minor formatting change
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |
