aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index c12b1c5..f2dc458 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -30,8 +30,8 @@ char *getChunkData(int mapperID) {
}
char* value = message.msgText;
printf("%s\n", message.msgText);
- // return value;
- return &(message.msgText);
+ return value;
+ //return &(message.msgText);
}
// sends chunks of size 1024 to the mappers in RR fashion