IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27143


Ignore:
Timestamp:
Mar 2, 2010, 12:53:28 PM (16 years ago)
Author:
Paul Price
Message:

Handle error from pmConfigConvertFilename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubArguments.c

    r27080 r27143  
    141141    if (data->statsName && strlen(data->statsName) > 0) {
    142142        psString resolved = pmConfigConvertFilename(data->statsName, config, true, true); // Resolved filename
     143        if (!resolved) {
     144            psError(psErrorCodeLast(), false, "Unable to resolve statistics file: %s", data->statsName);
     145            return false;
     146        }
    143147        data->statsFile = fopen(resolved, "w");
    144148        if (!data->statsFile) {
Note: See TracChangeset for help on using the changeset viewer.