diff --git a/test/httpd.c b/test/httpd.c index d113b0b..13e5f7d 100644 --- a/test/httpd.c +++ b/test/httpd.c @@ -65,6 +65,7 @@ void httperror(struct http_data* r,const char* title,const char* message) { c+=fmt_str(c,"\r\n\r\n"); c+=fmt_str(c,title+4); c+=fmt_str(c,"\n"); + c+=fmt_str(c,message); r->hlen=c - r->hdrbuf; } iob_addbuf(&r->iob,r->hdrbuf,r->hlen);