Changeset 18453
- Timestamp:
- Jul 9, 2008, 2:52:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/camtoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/camtoolConfig.c
r18336 r18453 503 503 504 504 { 505 psS tring str = NULL;505 psS64 cam_id = -1; 506 506 bool status = false; 507 if (( str = psMetadataLookupStr(&status, config->args, "-cam_id"))) {508 if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "cam_id", 0, "==", (psS64)atoll(str))) {507 if ((cam_id = psMetadataLookupS64(&status, config->args, "-cam_id"))) { 508 if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "cam_id", 0, "==", cam_id)) { 509 509 psError(PS_ERR_UNKNOWN, false, "failed to add item cam_id"); 510 510 psFree(config);
Note:
See TracChangeset
for help on using the changeset viewer.
