diff options
author | Marvin Borner | 2020-11-21 17:13:08 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-21 17:13:08 +0100 |
commit | 9b0fb12b247542defa3b85b0a29344b6e6d6c803 (patch) | |
tree | 76b8ab365250d483868c004dad9c2d810f0851b9 /apps | |
parent | 292dc556cbab0943b6c6c5d9ac0630cb102bbcef (diff) |
Fixed TCP/HTTP serving
Diffstat (limited to 'apps')
-rw-r--r-- | apps/server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/server.c b/apps/server.c index 646e876..ceb5ed0 100644 --- a/apps/server.c +++ b/apps/server.c @@ -19,9 +19,8 @@ int main() socket->state = S_CONNECTED; char buf[4096] = { 0 }; net_receive(socket, buf, 4096); - printf("%s\n", buf); net_send(socket, strdup(RESP), strlen(RESP)); - /* net_close(socket); // TODO: Fix */ + net_close(socket); } return 0; |