Changeset 19092 for trunk/ippTools/src/pxfake.c
- Timestamp:
- Aug 16, 2008, 1:27:58 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxfake.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxfake.c
r17938 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 fakeRun 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 fakeRun state: %s", state); … … 164 154 // different on 32/64 165 155 if (!p_psDBRunQuery(config->dbh, query, 166 " run", // state156 "new", // state 167 157 workdir ? workdir : "NULL", 168 158 label ? label : "NULL",
Note:
See TracChangeset
for help on using the changeset viewer.
