- Timestamp:
- 04/25/06 21:51:43 (3 years ago)
- Files:
-
- 1 modified
-
releases/openct-0.6.7/src/ctapi/ctapi.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/openct-0.6.7/src/ctapi/ctapi.c
r779 r864 548 548 ct_handle *h; 549 549 ct_info_t info; 550 ct_lock_handle lock;551 550 int i; 552 551 … … 561 560 ct->ctn = ctn; 562 561 ct->h = h; 563 ct->lock = lock;564 562 ct->next = cardTerminals; 565 563 cardTerminals = ct; … … 591 589 ct->hoststatus.gen = hoststatus; 592 590 ct->hoststatus.dir[0] = &ct->hoststatus; 593 if (ct_card_lock(h, 0, IFD_LOCK_EXCLUSIVE, & lock) < 0) {591 if (ct_card_lock(h, 0, IFD_LOCK_EXCLUSIVE, &ct->lock) < 0) { 594 592 CT_close(ctn); 595 593 return ERR_HTSI;
