From 12fcea50f619211d37564e8d63c56d9b9435d0eb Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 3 Nov 2020 09:54:03 -0600 Subject: readd debug printf from queue --- 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 57e5b5b..1fa9611 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -21,7 +21,7 @@ char *getChunkData(int mapperID) { int mid = openQueue("map"); // printf("%d\n", mapperID); msgrcv(mid, &message, MSGSIZE, mapperID, 0); - // printf("\n%s\n", message.msgText); + printf("\n%s\n", message.msgText); // printf("%d\n", strncmp("END", message.msgText, 3)); if (strncmp("END", message.msgText, 3) == 0) return NULL; -- cgit v1.2.3