aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-03 11:29:39 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-03 11:29:39 -0600
commit025143b1276e312e31729ebc598a6ca21d2416e1 (patch)
treecc908cd433514aaf91736547a6b9d16ba4070f1d /P2
parentnewest batch of trash (diff)
downloadcsci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar.gz
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar.bz2
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar.lz
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar.xz
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.tar.zst
csci4061-025143b1276e312e31729ebc598a6ca21d2416e1.zip
get rid of extra ()
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c2
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--;
}