david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[settings] Allow for setting fetchers to fail in fetchf_hex()

This commit is contained in:
Michael Brown 2008-09-26 03:39:35 +01:00
parent e2d5788716
commit 6936c40fef
1 changed files with 2 additions and 0 deletions

View File

@ -1040,6 +1040,8 @@ static int fetchf_hex ( struct settings *settings, struct setting *setting,
check_len = fetch_setting ( settings, setting, raw,
sizeof ( raw ) );
if ( check_len < 0 )
return check_len;
assert ( check_len == raw_len );
if ( len )