Changeset 96


Ignore:
Timestamp:
03/28/07 21:41:33 (18 years ago)
Author:
tim
Message:

last minute fixes for filter bugs

Location:
releases/0.4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/0.4.0/lib/regfi.c

    r87 r96  
    18061806       && (strcasecmp(cur->valuename, value_name) == 0))
    18071807      found = true;
    1808     cur = regfi_iterator_next_value(i);
    1809   }
    1810 
    1811   if(cur == NULL)
    1812     return false;
    1813  
    1814   return true;
     1808    else
     1809      cur = regfi_iterator_next_value(i);
     1810  }
     1811
     1812  return found;
    18151813}
    18161814
  • releases/0.4.0/src/reglookup.c

    r90 r96  
    950950    else if (retr_path_ret == 2)
    951951      printKeyTree(iter);
    952     else if(retr_path_ret != 0)
    953       bailOut(EX_DATAERR, "ERROR: Unknown error occurred in retrieving path.\n");
     952    else if(retr_path_ret < 0)
     953    {
     954      fprintf(stderr, "ERROR: retrievePath() returned %d.\n",
     955              retr_path_ret);
     956      bailOut(EX_DATAERR,"ERROR: Unknown error occurred in retrieving path.\n");
     957    }
    954958  }
    955959  else
Note: See TracChangeset for help on using the changeset viewer.