aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-04 10:34:48 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-04 10:34:48 -0600
commit83ba5b1d298cb60aef089907190c87fbd85718b0 (patch)
tree7119de4eed3ea0b52dd2bd2889da62a3e75d0b1d
parentRevert "error checking" (diff)
downloadcsci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar.gz
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar.bz2
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar.lz
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar.xz
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.tar.zst
csci4061-83ba5b1d298cb60aef089907190c87fbd85718b0.zip
get rid of commetn
-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 b8922d4..db815be 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -24,7 +24,7 @@ char *getChunkData(int mapperID) {
msgrcv(mid, &message, MSGSIZE, mapperID, 0);
if (strncmp("END", message.msgText, 3) == 0)
return NULL;
- char* value = malloc(1024); // chunkSize or MSGSIZE?
+ char* value = malloc(1024);
strcpy(value, message.msgText);
return value;
}