Change demo status line message to not use : lol

This commit is contained in:
Nick Krichevsky 2018-09-09 14:52:39 -04:00
parent 0330ff80ff
commit 2733153826

View file

@ -79,7 +79,7 @@ enum socket_result serve_one_request(int sock_fd) {
struct http_message message = {}; struct http_message message = {};
get_all_remote_parts(client_fd, TYPE_SERVER, &message); get_all_remote_parts(client_fd, TYPE_SERVER, &message);
printf("%s\n", message.contents); printf("%s\n", message.contents);
char *msg = "HTTP/1.1 501 Not Imlemented Yet :(\r\n\r\n"; char *msg = "HTTP/1.1 501 Not Imlemented Yet ;p\r\n\r\n";
send(client_fd, msg, strlen(msg), 0); send(client_fd, msg, strlen(msg), 0);
shutdown(client_fd, SHUT_RDWR); shutdown(client_fd, SHUT_RDWR);
close(client_fd); close(client_fd);