diff options
author | Stef Walter <stef@thewalter.net> | 2006-08-29 17:49:47 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2006-08-29 17:49:47 +0000 |
commit | 70148c8ae939bcf58545c98ec6228be6755a5566 (patch) | |
tree | 3c23cf25ad35d03b765e8a54d87d16bf3f6d42b5 /lib | |
parent | 686ba4ee4b645d27c2d9db568c2f326acb05bc25 (diff) |
- Fix endless loop on 0 length files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ int rlibRun(r_stream* stream, r_script* script, int done) /* Need some data to work with */ if(!stream->nextIn || !stream->availIn) - RETURN(R_IN); + RETURN(done ? R_DONE : R_IN); stream->total = 0; |