http.c: Minor formatting change
This commit is contained in:
parent
c4488c5e81
commit
e0fc222f1d
3
http.c
3
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 write_ctx *const w = &h->wctx;
|
||||||
struct dynstr *const d = &w->d;
|
struct dynstr *const d = &w->d;
|
||||||
const size_t rem = d->len - w->n;
|
const size_t rem = d->len - w->n;
|
||||||
const int res = h->cfg.write(d->str + w->n, rem,
|
const int res = h->cfg.write(d->str + w->n, rem, h->cfg.user);
|
||||||
h->cfg.user);
|
|
||||||
|
|
||||||
if (res <= 0)
|
if (res <= 0)
|
||||||
return rw_error(res, close);
|
return rw_error(res, close);
|
||||||
|
|
Loading…
Reference in New Issue