diff options
-rw-r--r-- | P2/lib/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c index 9d1a436..af92853 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -45,7 +45,7 @@ void sendChunkData(char *inputFile, int nMappers) { while(fgets(message.msgText, chunkSize + 1, file) != NULL) { int i = 1023; - while((validChar(message.msgText[i]))) { + while(validChar(message.msgText[i])) { message.msgText[i] = '\0'; i--; } |