diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-02 19:04:07 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-02 19:04:07 -0600 |
commit | 2529e2dbe6b2da4d59f617ff853defe690893884 (patch) | |
tree | 7ad189727be8581418dd76f54df788be81418a5f | |
parent | Merge branch 'Branch-2' (diff) | |
download | csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar.gz csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar.bz2 csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar.lz csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar.xz csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.tar.zst csci4061-2529e2dbe6b2da4d59f617ff853defe690893884.zip |
I'm stupid
Diffstat (limited to '')
-rw-r--r-- | P2/lib/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c index 5849296..a081a88 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -52,10 +52,10 @@ void sendChunkData(char *inputFile, int nMappers) { // TODO! help int i = 1023; - while(message.msgText[i] != ' ' || message.msgText[i] != '.') { - i--; + while(validChar(message.msgText[i])) { message.msgText[i] == '\0'; - printf("%d\n", i); + i--; + // printf("%d\n", i); } fseek(file, (i - 1023), SEEK_CUR); printf("%s\n", message.msgText); |