diff options
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ #include <stdbool.h> #include <stdio.h> -#include "common.h" +#include "util.h" int main() @@ -24,7 +24,7 @@ main() if (connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) == -1) panic("socket connect error"); - while (true) { + for (;;) { char buf[1024]; bzero(&buf, sizeof(buf)); scanf("%s", buf); |