Skip to content

Commit

Permalink
Remove debug printf
Browse files Browse the repository at this point in the history
  • Loading branch information
william-os4y committed Feb 15, 2012
1 parent fb55ae6 commit 8ade11f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fapws/mainloop.c
Expand Up @@ -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\n<html><head><title>Page not found</title></head><body><p>Page not found!!!</p></body></html>");
printf("3:***%s***\n", response);
if (response) write_cli(cli,response, strlen(response), revents);
else printf("str_append problem in 1\n");
stop=1;
Expand Down

0 comments on commit 8ade11f

Please sign in to comment.