IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 25, 2010, 10:58:13 AM (16 years ago)
Author:
Paul Price
Message:

Ensure files are closed when exiting with an error. Moved target PSF to its own file so that it can be closed independently of the images (they share data_exists, which need to have multiple states if they're on the same file).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackReject.c

    r27004 r27075  
    171171    psFree(options->regions); options->regions = NULL;
    172172
    173     if (numRejected >= num - 1) {
     173    if (numRejected >= num) {
    174174        psError(PPSTACK_ERR_REJECTED, true, "All inputs completely rejected; unable to proceed.");
    175175        return false;
Note: See TracChangeset for help on using the changeset viewer.