diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-01 23:32:52 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-01 23:32:52 +0100 |
| commit | f11cea8ca663b4d10afec1161d023bb82de32506 (patch) | |
| tree | 275e8895632b75ddc1c20ce14a878b7df3b92ec1 | |
| parent | 953210bd1930e1734f1acde86eadd7a1997bb7c3 (diff) | |
http.c: Write more debug infotest-mf
| -rw-r--r-- | http.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2310,8 +2310,10 @@ static int read_mf_body_boundary_byte(struct http_ctx *const h, const char b, } else { - fprintf(stderr, "%s: expected %hhx, got %hhx\n", __func__, - c->boundary[m->blen], b); + fprintf(stderr, "%s: expected %hhx in position %zu, got %hhx. " + "Expected boundary: %s, received boundary: %.*s\n", __func__, + c->boundary[m->blen], m->blen, b, c->boundary, (int)m->blen, + m->boundary); return 1; } |
