forgot to add message in httperror
This commit is contained in:
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,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user