Changeset 35295 for trunk/ippTools/src/pstamptool.c
- Timestamp:
- Mar 11, 2013, 2:03:24 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pstamptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pstamptool.c
r34123 r35295 287 287 PXOPT_LOOKUP_S64(ds_id, config->args, "-ds_id", false, false); 288 288 289 PXOPT_LOOKUP_STR(username, config->args, "-username", false, false); 290 PXOPT_LOOKUP_S64(proj_id, config->args, "-proj_id", false, false); 291 292 psTime *now = psTimeGetNow(PS_TIME_TAI); 293 289 294 if (!pstampRequestInsert(config->dbh, 290 295 0, // req_id … … 297 302 uri, 298 303 NULL, // outdir 299 NULL, // timestamp 304 username, 305 proj_id, 306 now, // registered 307 now, // timestamp 300 308 0 // fault 301 309 )) { … … 567 575 PXOPT_LOOKUP_STR(label, config->args, "-set_label", false, false); 568 576 PXOPT_LOOKUP_STR(outProduct, config->args, "-set_outProduct", false, false); 569 PXOPT_LOOKUP_S16(fault, config->args, "-set_fault", false, false);577 PXOPT_LOOKUP_S16(fault, config->args, "-set_fault", false, false); 570 578 PXOPT_LOOKUP_STR(uri, config->args, "-set_uri", false, false); 571 PXOPT_LOOKUP_STR(outdir, config->args, "-set_outdir", false, false);579 PXOPT_LOOKUP_STR(outdir, config->args, "-set_outdir", false, false); 572 580 PXOPT_LOOKUP_STR(name, config->args, "-set_name", false, false); 581 PXOPT_LOOKUP_STR(username, config->args, "-set_username", false, false); 573 582 PXOPT_LOOKUP_STR(reqType, config->args, "-set_reqType", false, false); 574 PXOPT_LOOKUP_BOOL(clearfault,config->args, "-clearfault", false);575 576 if (!state && !label && !outProduct && !fault && !uri && !outdir && !name && ! reqType && !clearfault) {583 PXOPT_LOOKUP_BOOL(clearfault,config->args, "-clearfault", false); 584 585 if (!state && !label && !outProduct && !fault && !uri && !outdir && !name && !username && !reqType && !clearfault) { 577 586 psError(PS_ERR_UNKNOWN, true, "at least one set option is required"); 578 587 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
