diff --git a/fapws/mainloop.c b/fapws/mainloop.c index 89051f9..e9c20b6 100644 --- a/fapws/mainloop.c +++ b/fapws/mainloop.c @@ -481,11 +481,8 @@ void write_cb(struct ev_loop *loop, struct ev_io *w, int revents) response = malloc(1); response[0] = '\0'; response = str_append(response, "HTTP/1.0 500 Not found\r\nContent-Type: text/html\r\nServer: "); - printf("1:***%s***\n", response); response = str_append(response, VERSION); - printf("2:***%s***\n", response); response = str_append(response, "\r\n\r\nPage not found

Page not found!!!

"); - printf("3:***%s***\n", response); if (response) write_cli(cli,response, strlen(response), revents); else printf("str_append problem in 1\n"); stop=1;