summaryrefslogtreecommitdiff
path: root/lib/rlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rlib.c')
-rw-r--r--lib/rlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rlib.c b/lib/rlib.c
index d973613..faca2b8 100644
--- a/lib/rlib.c
+++ b/lib/rlib.c
@@ -497,7 +497,7 @@ int repFile(r_context* ctx, FILE* fIn)
ctx->stream.availIn = 0;
/* While we either have more data to put in or more output... */
- while(!feof(fIn) || r == R_DONE)
+ while(r != R_DONE)
{
/* If rlib wants data then give it */
if(r == R_IN)