IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 22, 2021, 9:58:11 AM (5 years ago)
Author:
eugene
Message:

return an error if content is not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-dev-20210817/psModules/src/camera/pmFPAConstruct.c

    r35561 r41853  
    853853    } else {
    854854        const char *content = getContent(fileInfo, phdu->header, contents); // The chip type
     855        if (!content) {
     856            psError(PS_ERR_UNKNOWN, false, "Unable to find CONTENT entry in header");
     857            return false;
     858        }
    855859
    856860        int chipNum = -1;               // Chip number
Note: See TracChangeset for help on using the changeset viewer.