aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorAndrea Smith <smit9523@umn.edu>2020-11-03 12:38:35 -0600
committerAndrea Smith <smit9523@umn.edu>2020-11-03 12:38:35 -0600
commite8fcc84d06863bb0828e1a0e7eafc722f23c26a3 (patch)
treeb9eac645af11ab588ebf7b86af27b51d505f871b /P2
parentchanged stuff (diff)
downloadcsci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar.gz
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar.bz2
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar.lz
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar.xz
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.tar.zst
csci4061-e8fcc84d06863bb0828e1a0e7eafc722f23c26a3.zip
AAAAA
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index 788a128..da250dc 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -27,12 +27,12 @@ char *getChunkData(int mapperID) {
// printf("%d\n", strncmp("END", message.msgText, 3));
if (strncmp("END", message.msgText, 4) == 0)
return NULL;
- char* value = message.msgText;
- return value;
+ // char* value = message.msgText;
+ // return value;
// DEBUG! malloc a buffer/return
- // char* value = malloc(1024); // chunkSize or MSGSIZE?
- // return value;
+ char* value = malloc(1024); // chunkSize or MSGSIZE?
+ return value;
// Free memory
// printf("%s\n", message.msgText);