diff options
author | Andrea Smith <smit9523@umn.edu> | 2020-11-03 12:48:16 -0600 |
---|---|---|
committer | Andrea Smith <smit9523@umn.edu> | 2020-11-03 12:48:16 -0600 |
commit | bf73c2b7d29c29157ee6a315ea60c2d9813521d4 (patch) | |
tree | 9f9d08396e7beb7cd69792b8ca76f0801993b5f8 /P2/lib/utils.c | |
parent | aaaa (diff) | |
download | csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar.gz csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar.bz2 csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar.lz csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar.xz csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.tar.zst csci4061-bf73c2b7d29c29157ee6a315ea60c2d9813521d4.zip |
ASEDFJAWEIJAWE
Diffstat (limited to 'P2/lib/utils.c')
-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 4f86f50..e023f1a 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -25,7 +25,7 @@ char *getChunkData(int mapperID) { 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, 4) == 0) + if (strncmp("END", message.msgText, 3) == 0) return NULL; // char* value = message.msgText; // return value; |