aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
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 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;
}