From deee5dba017f63306ec653211eb7b95ce68fb34b Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 3 Nov 2020 20:16:10 -0600 Subject: Comment genocide Also error checks --- P2/lib/utils.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'P2') diff --git a/P2/lib/utils.c b/P2/lib/utils.c index c0b2c67..b8922d4 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -21,7 +21,6 @@ char *getChunkData(int mapperID) { struct msgBuffer message = makeMessage(); //Queue ID int mid = openQueue(); - //printf("MAPPER ID:%d\n", mapperID); msgrcv(mid, &message, MSGSIZE, mapperID, 0); if (strncmp("END", message.msgText, 3) == 0) return NULL; @@ -37,7 +36,6 @@ void sendChunkData(char *inputFile, int nMappers) { int msgid = openQueue(); closeQueue(msgid); msgid = openQueue(); - // DEBUG! Remove if already exists when opening queue for the first time int map = 0; FILE* file = fopen(inputFile, "r"); // construct chunks of 1024 bytes -- cgit v1.2.3