aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-03 09:51:52 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-03 09:51:52 -0600
commit975355963a3429a7ddb37c9991f9ddbc929c83c8 (patch)
tree396f7e9633da32a8d20f2ca46fc71dccc6cacde0 /P2
parentget rid of useless comment (diff)
downloadcsci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar.gz
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar.bz2
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar.lz
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar.xz
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.tar.zst
csci4061-975355963a3429a7ddb37c9991f9ddbc929c83c8.zip
help
Diffstat (limited to '')
-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 314516b..57e5b5b 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -20,7 +20,7 @@ char *getChunkData(int mapperID) {
//Queue ID
int mid = openQueue("map");
// printf("%d\n", mapperID);
- msgrcv(mid, &message, chunkSize, mapperID, 0);
+ msgrcv(mid, &message, MSGSIZE, mapperID, 0);
// printf("\n%s\n", message.msgText);
// printf("%d\n", strncmp("END", message.msgText, 3));
if (strncmp("END", message.msgText, 3) == 0)