diff options
| -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; } |
