Changeset 7302 for trunk/ippTools/src/dettool.c
- Timestamp:
- Jun 2, 2006, 11:44:16 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7299 r7302 431 431 return false; 432 432 } 433 if (!det_id) { 434 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 435 return false; 436 } 433 437 psString exp_id = psMetadataLookupStr(&status, config->args, "-exp_id"); 434 438 if (!status) { … … 436 440 return false; 437 441 } 442 if (!exp_id) { 443 psError(PS_ERR_UNKNOWN, true, "-exp_id is required"); 444 return false; 445 } 438 446 psString class_id = psMetadataLookupStr(&status, config->args, "-class_id"); 439 447 if (!status) { … … 441 449 return false; 442 450 } 451 if (!class_id) { 452 psError(PS_ERR_UNKNOWN, true, "-class_id is required"); 453 return false; 454 } 443 455 psString uri = psMetadataLookupStr(&status, config->args, "-uri"); 444 456 if (!status) { … … 446 458 return false; 447 459 } 460 if (!uri) { 461 psError(PS_ERR_UNKNOWN, true, "-uri is required"); 462 return false; 463 } 464 psString stats = psMetadataLookupStr(&status, config->args, "-stats"); 465 if (!status) { 466 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -stats"); 467 return false; 468 } 469 if (!stats) { 470 psError(PS_ERR_UNKNOWN, true, "-stats is required"); 471 return false; 472 } 448 473 psString recipe = psMetadataLookupStr(&status, config->args, "-recipe"); 449 474 if (!status) { 450 475 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -recipe"); 476 return false; 477 } 478 if (!recipe) { 479 psError(PS_ERR_UNKNOWN, true, "-recipe is required"); 451 480 return false; 452 481 } … … 473 502 474 503 // create a new detProcessedImfile object 475 psString stats = ((rawImfileRow *)rawImfiles->data[0])->stats;476 504 detProcessedImfileRow *detRow = detProcessedImfileRowAlloc( 477 505 (psS32)atol(det_id), exp_id, class_id, uri, stats, recipe
Note:
See TracChangeset
for help on using the changeset viewer.
