IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15121


Ignore:
Timestamp:
Sep 29, 2007, 12:42:56 PM (19 years ago)
Author:
eugene
Message:

handle error more cleanly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroParseCamera.c

    r12806 r15121  
    1919
    2020    // Chip selection: turn on only the chips specified (option is not required)
    21     char *chipLine = psMetadataLookupStr(NULL, config->arguments, "CHIP_SELECTIONS");
    22     if (chipLine == NULL) psErrorClear();
    23 
     21    char *chipLine = psMetadataLookupStr(&status, config->arguments, "CHIP_SELECTIONS");
    2422    psArray *chips = psStringSplitArray (chipLine, ",", false);
    2523    if (chips->n > 0) {
Note: See TracChangeset for help on using the changeset viewer.