From ab5d26897f836e37ad3819c5ef88c06794ca0d14 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 22 Nov 2018 13:43:43 +0100 Subject: [PATCH] fix d21527c0 --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index 3da61ded..559ad788 100644 --- a/src/io.c +++ b/src/io.c @@ -492,7 +492,7 @@ unsigned long File_length_file(FILE * file) offset_backup = ftell(file); if (offset_backup < 0) return 0; - if (fseek(file, 0, SEEK_END) < 0 + if (fseek(file, 0, SEEK_END) < 0) return 0; file_length = ftell(file); if (file_length < 0)