Changeset 10624
- Timestamp:
- 03/08/15 21:07:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox-cards.c
r10619 r10624 513 513 { return -1; } 514 514 515 LL_ITER it = ll_iter_create(pending_cards);516 515 struct gbox_card_id *current_id; 517 while ((current_id = ll_iter_next(&it))) 516 LL_LOCKITER *li = ll_li_create(pending_cards, 0); 517 while ((current_id = ll_li_next(li))) 518 518 { 519 519 if (current_id->peer == peer_id && current_id->slot == slot) 520 520 { return 1; } 521 521 } 522 522 ll_li_destroy(li); 523 523 return 0; 524 524 }
Note:
See TracChangeset
for help on using the changeset viewer.