IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26355 for trunk/ppViz/src


Ignore:
Timestamp:
Dec 8, 2009, 5:41:21 AM (16 years ago)
Author:
Paul Price
Message:

Add error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppViz/src/ppVizPSF/ppVizPSFData.c

    r26352 r26355  
    4343    ppVizPSFData *data = ppVizPSFDataAlloc(); // Processing data, to return
    4444    data->config = pmConfigRead(argc, argv, PPVIZPSF_RECIPE);
     45    if (!data->config) {
     46        psError(PS_ERR_UNKNOWN, false, "Unable to read configuration.");
     47        return NULL;
     48    }
    4549    return data;
    4650}
Note: See TracChangeset for help on using the changeset viewer.