- Timestamp:
- 06/02/10 21:53:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r185 r199 277 277 const REGFI_VK_REC* value; 278 278 279 value =regfi_iterator_first_value(iter);280 while( value!= NULL)279 regfi_iterator_first_value(iter); 280 while((value = regfi_iterator_cur_value(iter)) != NULL) 281 281 { 282 282 if(!type_filter_enabled || (value->type == type_filter)) 283 283 printValue(iter, value, prefix); 284 284 regfi_free_record(value); 285 value =regfi_iterator_next_value(iter);285 regfi_iterator_next_value(iter); 286 286 printMsgs(iter->f); 287 287 } … … 379 379 380 380 root = cur = regfi_iterator_cur_key(iter); 381 sub = regfi_iterator_first_subkey(iter); 381 regfi_iterator_first_subkey(iter); 382 sub = regfi_iterator_cur_subkey(iter); 382 383 printMsgs(iter->f); 383 384 … … 419 420 } 420 421 421 sub = regfi_iterator_next_subkey(iter); 422 regfi_iterator_next_subkey(iter); 423 sub = regfi_iterator_cur_subkey(iter); 422 424 } 423 425 print_this = false; … … 435 437 cur = regfi_iterator_cur_key(iter); 436 438 regfi_free_record(sub); 437 sub = regfi_iterator_first_subkey(iter); 439 regfi_iterator_first_subkey(iter); 440 sub = regfi_iterator_cur_subkey(iter); 438 441 print_this = true; 439 442 }
Note: See TracChangeset
for help on using the changeset viewer.