Changeset 7248
- Timestamp:
- May 30, 2006, 4:07:22 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7247 r7248 446 446 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); 447 447 if (!status) { 448 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -det_id"); 448 psError(PS_ERR_UNKNOWN, false, 449 "failed to lookup value for -det_id"); 449 450 return false; 450 451 } 451 psString class_id = psMetadataLookupStr(&status, config->args, "-class_id"); 452 psString class_id = psMetadataLookupStr(&status, config->args, 453 "-class_id"); 452 454 if (!status) { 453 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -class_id"); 455 psError(PS_ERR_UNKNOWN, false, 456 "failed to lookup value for -class_id"); 454 457 return false; 455 458 } … … 464 467 } 465 468 if (class_id) { 466 if (!psMetadataAddStr(where, PS_LIST_TAIL, "class_id", 0, "==", class_id)) { 469 if (!psMetadataAddStr(where, PS_LIST_TAIL, "class_id", 0, "==", 470 class_id)) { 467 471 psError(PS_ERR_UNKNOWN, false, "failed to add item class_id"); 468 472 psFree(where);
Note:
See TracChangeset
for help on using the changeset viewer.
