diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-03 09:54:03 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-03 09:54:03 -0600 |
commit | 12fcea50f619211d37564e8d63c56d9b9435d0eb (patch) | |
tree | db5cee8f0a904402a23d88ad8e811204dea33238 | |
parent | help (diff) | |
download | csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar.gz csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar.bz2 csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar.lz csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar.xz csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.tar.zst csci4061-12fcea50f619211d37564e8d63c56d9b9435d0eb.zip |
readd debug printf from queue
Diffstat (limited to '')
-rw-r--r-- | P2/lib/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |