From 3cb9784513b22e6fe52adcd43d39ad4155f27eb6 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 2 Nov 2020 19:07:03 -0600 Subject: help --- P2/lib/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index a081a88..d4f3880 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -53,8 +53,8 @@ void sendChunkData(char *inputFile, int nMappers) { // TODO! help int i = 1023; while(validChar(message.msgText[i])) { - message.msgText[i] == '\0'; - i--; + message.msgText[i--] == '\0'; + // i--; // printf("%d\n", i); } fseek(file, (i - 1023), SEEK_CUR); -- cgit v1.2.3