aboutsummaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.c b/server.c
index 53368e9..e4289d5 100644
--- a/server.c
+++ b/server.c
@@ -126,6 +126,9 @@ int main(int argc, char **argv)
perror("recv");
return -1;
}
+ for (int i = 0; i < sizeof(buf); i++) {
+ printf("%c", buf[i]);
+ }
if (strncmp(buf, "GET", 3) == 0) {
char *http_status = "HTTP/1.1 200 OK\r\n";