IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19850


Ignore:
Timestamp:
Oct 2, 2008, 10:53:45 AM (18 years ago)
Author:
eugene
Message:

allow unspecified string arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimUtils.c

    r18011 r19850  
    228228
    229229// Get a value from the command-line arguments and add it to recipe options
     230// if it is not specified, do not override the existing recipe value
    230231char *ppSimArgToRecipeStr(bool *status,
    231232                          psMetadata *options,    // Target to which to add value
     
    241242        *status = myStatus;
    242243    }
     244    if (!value) return NULL;
    243245    psMetadataAddStr(options, PS_LIST_TAIL, recipeName, PS_META_REPLACE, NULL, value);
    244246    return value;
Note: See TracChangeset for help on using the changeset viewer.