Changeset 18659 for branches/eam_branch_20080719/ippTools/src/difftool.c
- Timestamp:
- Jul 22, 2008, 9:10:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080719/ippTools/src/difftool.c
r18643 r18659 265 265 266 266 if (count == 2) { 267 if (!setdiffRunState(config, diff_id, " run")) {267 if (!setdiffRunState(config, diff_id, "new")) { 268 268 if (!psDBRollback(config->dbh)) { 269 269 psError(PS_ERR_UNKNOWN, false, "database error"); … … 502 502 } 503 503 504 if (!setdiffRunState(config, diff_id, " stop")) {504 if (!setdiffRunState(config, diff_id, "full")) { 505 505 if (!psDBRollback(config->dbh)) { 506 506 psError(PS_ERR_UNKNOWN, false, "database error"); … … 636 636 637 637 // check that state is a valid string value 638 if (!( 639 (strncmp(state, "run", 4) == 0) 640 || (strncmp(state, "stop", 5) == 0) 641 || (strncmp(state, "reg", 4) == 0) 642 ) 643 ) { 644 psError(PS_ERR_UNKNOWN, false, 645 "invalid diffRun state: %s", state); 638 if (!pxIsValidState(state)) { 639 psError(PS_ERR_UNKNOWN, false, "invalid diffRun state: %s", state); 646 640 return false; 647 641 }
Note:
See TracChangeset
for help on using the changeset viewer.
