IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2010, 12:17:13 PM (16 years ago)
Author:
watersc1
Message:

state is not a required argument for pxUpdateRun, so check that it's not null before we strcmp it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxtools.c

    r28202 r28271  
    289289    PXOPT_LOOKUP_STR(note, config->args,        "-set_note", false, false);
    290290
    291     if (!strcmp(state, "update")) {
     291    if ((state)&&(!strcmp(state, "update"))) {
    292292        fprintf(stderr, "'-updaterun -set_state update' is not supported.");
    293293        if (!strcmp(runTable, "chipRun")) {
Note: See TracChangeset for help on using the changeset viewer.