forgot to add message in httperror

master
leitner 17 years ago
parent cf900e97d3
commit 6fd49579e8

@ -65,6 +65,7 @@ void httperror(struct http_data* r,const char* title,const char* message) {
c+=fmt_str(c,"\r\n\r\n<title>"); c+=fmt_str(c,"\r\n\r\n<title>");
c+=fmt_str(c,title+4); c+=fmt_str(c,title+4);
c+=fmt_str(c,"</title>\n"); c+=fmt_str(c,"</title>\n");
c+=fmt_str(c,message);
r->hlen=c - r->hdrbuf; r->hlen=c - r->hdrbuf;
} }
iob_addbuf(&r->iob,r->hdrbuf,r->hlen); iob_addbuf(&r->iob,r->hdrbuf,r->hlen);

Loading…
Cancel
Save