From 89a8defde6841e1afb27d09e2a4086dd07dfe091 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 8 Jul 2021 00:30:58 +0200 Subject: [PATCH] New network code (better buffers) --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index 06ba02e..788a7f1 100644 --- a/src/cli.c +++ b/src/cli.c @@ -40,7 +40,7 @@ void connectedCommunication(int sockfd) for (;;) { // Zeroing buffer - bzero(sendBuff, sizeof(buff)); + bzero(sendBuff, sizeof(sendBuff)); printf("\ngem-graph console> "); i = 0;