diff options
-rw-r--r-- | src/process_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c index fa017710..ced21911 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -174,7 +174,7 @@ static struct image *file_wait_open_read(const char *filename, return NULL; } - } while ( r ); + } while ( image == NULL ); return image; } |