From 975355963a3429a7ddb37c9991f9ddbc929c83c8 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 3 Nov 2020 09:51:52 -0600 Subject: help --- P2/lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'P2') 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) -- cgit v1.2.3