IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2009, 3:25:40 PM (17 years ago)
Author:
bills
Message:

change ppstampMakeStamp() to return a program exit code.
This allows us to set the correct error for the job

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/ppstamp.c

    r16132 r25197  
    2929
    3030    // find the pixels that we need to copy, setup the output image
    31     if (ppstampMakeStamp(config, options)) {
    32         exitCode = 0;
    33     } else {
    34         exitCode = PS_EXIT_DATA_ERROR;
    35     }
     31    exitCode = ppstampMakeStamp(config, options);
    3632
    3733    psLogMsg ("ppstamp", 3, "Complete ppstamp run: %f sec\n", psTimerMark(TIMERNAME));
Note: See TracChangeset for help on using the changeset viewer.