Changeset 23532 for branches/pap/ippTools/src/faketool.c
- Timestamp:
- Mar 25, 2009, 12:48:19 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ippTools/src/faketool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src/faketool.c
r23339 r23532 496 496 497 497 // default values 498 PXOPT_LOOKUP_S16( code, config->args, "-code", false, false);498 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 499 499 500 500 if (!psDBTransaction(config->dbh)) { … … 513 513 path_base, 514 514 "full", 515 code,515 fault, 516 516 NULL // epoch 517 517 )) { … … 687 687 PS_ASSERT_PTR_NON_NULL(config, false); 688 688 689 PXOPT_LOOKUP_S16( code, config->args, "-code", true, false);689 PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false); 690 690 691 691 psMetadata *where = psMetadataAlloc(); … … 693 693 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 694 694 695 if (!pxSetFaultCode(config->dbh, "fakeProcessedImfile", where, code)) {695 if (!pxSetFaultCode(config->dbh, "fakeProcessedImfile", where, fault)) { 696 696 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 697 697 psFree(where); … … 1238 1238 1239 1239 int numExportTables = 2; 1240 1240 1241 1241 PS_ASSERT_PTR_NON_NULL(config, NULL); 1242 1242 … … 1316 1316 1317 1317 PS_ASSERT_PTR_NON_NULL(config, NULL); 1318 1318 1319 1319 PXOPT_LOOKUP_STR(infile, config->args, "-infile", true, false); 1320 1320
Note:
See TracChangeset
for help on using the changeset viewer.
