Browse Source

forgot to add message in httperror

master
Felix von Leitner 14 years ago
parent
commit
090f9ae243
  1. 1
      test/httpd.c

1
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<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…
Cancel
Save