Changeset 82 for trunk/src


Ignore:
Timestamp:
01/17/07 12:20:41 (18 years ago)
Author:
tim
Message:

bugfixes for path filtering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r81 r82  
    758758            path_filter);
    759759
     760  /* Special check for '/' path filter */
     761  if(path[0] == NULL)
     762  {
     763    if(print_verbose)
     764      fprintf(stderr, "VERBOSE: Found final path element as root key.\n");
     765    return 2;
     766  }
     767
    760768  if(!regfi_iterator_walk_path(iter, tmp_path))
    761769  {
     
    785793    if(print_verbose)
    786794      fprintf(stderr, "VERBOSE: Found final path element as key.\n");
     795
     796    if(!regfi_iterator_down(iter))
     797      bailOut(2, "ERROR: Unexpected error on traversing path filter key.\n");
     798
    787799    return 2;
    788800  }
Note: See TracChangeset for help on using the changeset viewer.