- Timestamp:
- 06/16/11 20:42:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/regfi.c
r257 r260 1997 1997 cur_key = regfi_iterator_cur_key(i); 1998 1998 if(cur_key == NULL) 1999 { 1999 2000 regfi_log_add(REGFI_LOG_ERROR, "Current key invalid in find_subkey."); 2000 2001 return ret_val; 2002 } 2001 2003 2002 2004 if(regfi_find_subkey(i->f, cur_key, name, &new_index)) … … 2100 2102 cur_key = regfi_iterator_cur_key(i); 2101 2103 if(cur_key == NULL) 2104 { 2102 2105 regfi_log_add(REGFI_LOG_ERROR, "Current key invalid in cur_subkey."); 2103 2106 return NULL; 2107 } 2104 2108 2105 2109 ret_val = regfi_get_subkey(i->f, cur_key, i->cur->cur_subkey); … … 2129 2133 cur_key = regfi_iterator_cur_key(i); 2130 2134 if(cur_key == NULL) 2135 { 2131 2136 regfi_log_add(REGFI_LOG_ERROR, "Current key invalid in find_value."); 2132 2137 return ret_val; 2138 } 2133 2139 2134 2140 if(regfi_find_value(i->f, cur_key, name, &new_index)) … … 2161 2167 cur_key = regfi_iterator_cur_key(i); 2162 2168 if(cur_key == NULL) 2169 { 2163 2170 regfi_log_add(REGFI_LOG_ERROR, "Current key invalid in cur_value."); 2164 2171 return ret_val; 2172 } 2165 2173 2166 2174 ret_val = regfi_get_value(i->f, cur_key, i->cur->cur_value);
Note: See TracChangeset
for help on using the changeset viewer.