diff options
Diffstat (limited to 'src/cubeit.c')
-rw-r--r-- | src/cubeit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cubeit.c b/src/cubeit.c index 51f4a57c..f85acdf3 100644 --- a/src/cubeit.c +++ b/src/cubeit.c @@ -393,7 +393,9 @@ static void *get_image(void *qp) /* Get the next filename */ if ( read_chunk(qargs->fh, &image) == 1 ) { - ERROR("Failed to read chunk from the input stream.\n"); + if ( ferror(qargs->fh) ) { + ERROR("Stream read error.\n"); + } return NULL; } |