forgot to add message in httperror

This commit is contained in:
Felix von Leitner 2008-06-23 07:04:09 +00:00
parent 7833a683cf
commit 090f9ae243
1 changed files with 1 additions and 0 deletions

View File

@ -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,title+4);
c+=fmt_str(c,"</title>\n");
c+=fmt_str(c,message);
r->hlen=c - r->hdrbuf;
}
iob_addbuf(&r->iob,r->hdrbuf,r->hlen);