Added missing argument to send_string()

This commit is contained in:
adamdunkels 2010-02-03 21:06:51 +00:00
parent 2e7ade836e
commit 815468b442

View File

@ -30,7 +30,7 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: httpd-cfs.c,v 1.13 2010/02/03 20:41:16 adamdunkels Exp $ * $Id: httpd-cfs.c,v 1.14 2010/02/03 21:06:51 adamdunkels Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -137,7 +137,7 @@ PT_THREAD(handle_output(struct httpd_state *s))
PT_WAIT_THREAD(&s->outputpt, PT_WAIT_THREAD(&s->outputpt,
send_headers(s, http_header_404)); send_headers(s, http_header_404));
PT_WAIT_THREAD(&s->outputpt, PT_WAIT_THREAD(&s->outputpt,
send_string("Not found")); send_string(s, "Not found"));
uip_close(); uip_close();
webserver_log_file(&uip_conn->ripaddr, "404 (no notfound.html)"); webserver_log_file(&uip_conn->ripaddr, "404 (no notfound.html)");
PT_EXIT(&s->outputpt); PT_EXIT(&s->outputpt);