Changeset 55 for trunk


Ignore:
Timestamp:
09/04/05 21:41:26 (19 years ago)
Author:
tim
Message:

fixed a type filtering bug, and a verbosity print order bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r54 r55  
    615615    {
    616616      path = stack2Path(nk_stack);
    617       printValue(&sub->values[i], path);
     617
     618      if(print_verbose)
     619        fprintf(stderr, "VERBOSE: Found final path element as value.\n");
     620
     621      if(!type_filter_enabled || (&sub->values[i].type == type_filter))
     622        printValue(&sub->values[i], path);
    618623      if(path != NULL)
    619624        free(path);
    620 
    621       if(print_verbose)
    622         fprintf(stderr, "VERBOSE: Found final path element as value.\n");
    623625
    624626      return 0;
Note: See TracChangeset for help on using the changeset viewer.