Minor on hb_blob_create_from_file, reuse ferror result
Oops
This commit is contained in:
parent
71971800ed
commit
8a51f91b70
|
@ -618,7 +618,7 @@ fail_without_close:
|
|||
|
||||
int err = ferror (fp);
|
||||
if (unlikely (err == EINTR)) continue;
|
||||
if (unlikely (ferror (fp))) goto fread_fail;
|
||||
if (unlikely (err)) goto fread_fail;
|
||||
|
||||
len += addition;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue