Changeset 19092 for trunk/ippTools/src/pxcam.c
- Timestamp:
- Aug 16, 2008, 1:27:58 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxcam.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxcam.c
r17171 r19092 35 35 36 36 // check that state is a valid string value 37 if (!( 38 (strncmp(state, "run", 4) == 0) 39 || (strncmp(state, "stop", 5) == 0) 40 || (strncmp(state, "reg", 4) == 0) 41 ) 42 ) { 37 if (!pxIsValidState(state)) { 43 38 psError(PS_ERR_UNKNOWN, false, 44 39 "invalid camRun state: %s", state); … … 63 58 64 59 // check that state is a valid string value 65 if (!( 66 (strncmp(state, "run", 4) == 0) 67 || (strncmp(state, "stop", 5) == 0) 68 || (strncmp(state, "reg", 4) == 0) 69 ) 70 ) { 60 if (!pxIsValidState(state)) { 71 61 psError(PS_ERR_UNKNOWN, false, 72 62 "invalid chipRun state: %s", state); … … 108 98 return true; 109 99 } 110 111 100 112 101 bool pxcamRunSetLabelByQuery(pxConfig *config, psMetadata *where, const char *label) … … 162 151 // different on 32/64 163 152 if (!p_psDBRunQuery(config->dbh, query, 164 " run", // state153 "new", // state 165 154 workdir ? workdir : "NULL", 166 155 "dirty", //workdir_state
Note:
See TracChangeset
for help on using the changeset viewer.
