ref: b2c7c4780b1f7c100138a093750e4639bb8edecf
parent: b458f5c10b26f3b236c535d856274fa1650e137a
author: robs <robs>
date: Fri May 8 17:19:17 EDT 2009
make trim xxx 0 do the right thing
--- a/src/trim.c
+++ b/src/trim.c
@@ -129,7 +129,7 @@
} /* !trimmed */
if (trim->trimmed || start_trim) {
- if (trim->length && ((trim->trimmed+done) >= trim->length)) {
+ if (trim->length_str && ((trim->trimmed+done) >= trim->length)) {
/* Since we know the end is in this block, we set done
* to the desired length less the amount already read.
*/