Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[settings] Allow for setting fetchers to fail in fetchf_hex()
  • Loading branch information
Michael Brown committed Sep 26, 2008
1 parent e2d5788 commit 6936c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/settings.c
Expand Up @@ -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 )
Expand Down

0 comments on commit 6936c40

Please sign in to comment.