diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-02 19:07:03 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-02 19:07:03 -0600 |
commit | 3cb9784513b22e6fe52adcd43d39ad4155f27eb6 (patch) | |
tree | 6318c57db03b52a932b0e72e61cb310e81ea5266 | |
parent | I'm stupid (diff) | |
download | csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar.gz csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar.bz2 csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar.lz csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar.xz csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.tar.zst csci4061-3cb9784513b22e6fe52adcd43d39ad4155f27eb6.zip |
help
-rw-r--r-- | P2/lib/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c index a081a88..d4f3880 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -53,8 +53,8 @@ void sendChunkData(char *inputFile, int nMappers) { // TODO! help int i = 1023; while(validChar(message.msgText[i])) { - message.msgText[i] == '\0'; - i--; + message.msgText[i--] == '\0'; + // i--; // printf("%d\n", i); } fseek(file, (i - 1023), SEEK_CUR); |