IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7518


Ignore:
Timestamp:
Jun 11, 2006, 11:06:45 AM (20 years ago)
Author:
eugene
Message:

added error check to psphotParseCamera results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphot.c

    r7339 r7518  
    2121
    2222    // load input data (config and images (signal, noise, mask)
    23     psphotParseCamera (config);
     23    if (!psphotParseCamera (config)) {
     24        psErrorStackPrint(stderr, "");
     25        exit(1);
     26    }
    2427
    2528    // call psphot for each readout
     
    2831    psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));
    2932
    30     psFree (config);
    31     psphotCleanup ();
    32  
    33     exit (0);
     33    psphotCleanup (config);
     34    exit (EXIT_SUCCESS);
    3435}
Note: See TracChangeset for help on using the changeset viewer.