diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-18 02:55:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-18 02:55:28 +0000 |
commit | f4df68d88217dd961c8a7586aef4a33eefda54b2 (patch) | |
tree | fc999e266743949ae2234538eda529a4a9f4c223 | |
parent | 80f04b2bec3236310a19ea17a3a3462f5d5f8de9 (diff) | |
download | fetchmail-f4df68d88217dd961c8a7586aef4a33eefda54b2.tar.gz fetchmail-f4df68d88217dd961c8a7586aef4a33eefda54b2.tar.bz2 fetchmail-f4df68d88217dd961c8a7586aef4a33eefda54b2.zip |
Try to do better length computation.
svn path=/trunk/; revision=1365
-rw-r--r-- | driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1685,8 +1685,8 @@ const struct method *proto; /* protocol method table */ } /* check to see if the numbers matched? */ - if (msglen != len) - error(0, 0, "size of message %d (%d) was not what was expected (%d)", num, msglen, len); + if (msgsizes && msglen != msgsizes[num]) + error(0, 0, "size of message %d (%d) was not what was expected (%d)", num, msglen, msgsizes[num]); /* end-of-message processing starts here */ if (outlevel == O_VERBOSE) |