aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-03 08:09:16 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-03 08:09:16 -0600
commitcddeded58a6d5f9b63abcde486d1f038d7a0750c (patch)
treec3384481a81cd02f8d455ce13529e602b5e0941a /P2
parentgetchunkdata is hella fucked (diff)
downloadcsci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar.gz
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar.bz2
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar.lz
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar.xz
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.tar.zst
csci4061-cddeded58a6d5f9b63abcde486d1f038d7a0750c.zip
Help
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