IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2006, 5:02:32 PM (20 years ago)
Author:
Paul Price
Message:

Bad file names are set to NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCheckInputs.c

    r7000 r7002  
    1515    for (int i = 0; i < filenames->n; i++) {
    1616        psString name = filenames->data[i]; // The name of the file
     17        if (!name || strlen(name) == 0) {
     18            continue;
     19        }
    1720        psFits *inFile = psFitsOpen(filenames->data[i], "r"); // The FITS file to read
    1821        if (!inFile) {
Note: See TracChangeset for help on using the changeset viewer.