aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-18 18:52:24 -0400
committersotech117 <michael_foiani@brown.edu>2023-09-18 18:52:24 -0400
commit186915db036f06a604883b644e40eaf377aedadf (patch)
tree919b77b62ab359f53ca836fc3304d04c4f4fa5b1 /client.c
parent8a25dcda67683817ddd55b669111f7dd8e3107ef (diff)
got it to work, not sure on protocol.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 6e6c95a..5edff63 100644
--- a/client.c
+++ b/client.c
@@ -156,7 +156,7 @@ void *reply_thread_routine(void* args) {
printf("client: replyType: %d, stringSize: %d\n", buf[0], buf[1]);
// print the while buffer by char
for (int i = 0; i < recvbytes; i++) {
- printf("%d", buf[i]);
+ printf("%c ", buf[i]);
}
struct Reply reply;