diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-17 12:54:26 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-17 12:54:26 -0300 |
commit | fea14ed5d2088500649c1a1350a407922bac253c (patch) | |
tree | f99a8bcfec4012cff9b415a75e0ab409f3f88a1f /hardinfo2/shell.c | |
parent | b2c6231f5c707234772660a515e0daf19c710510 (diff) |
More Remote mode fixes
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index b84446b7..5ecefac6 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -745,7 +745,9 @@ static gboolean update_field(gpointer data) DEBUG("update_field [%s]", fu->field_name); iter = g_hash_table_lookup(update_tbl, fu->field_name); - g_return_val_if_fail(iter != NULL, FALSE); + if (!iter) { + return FALSE; + } /* if the entry is still selected, update it */ if (iter && fu->entry->selected && fu->entry->fieldfunc) { |