Changeset 4732 for trunk/module-gbox.c
- Timestamp:
- 02/14/11 16:42:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox.c
r4731 r4732 50 50 uchar type; 51 51 int ecm_idx; 52 int hello_ not_expired;52 int hello_expired; 53 53 uchar cws[16]; 54 54 struct gbox_peer peer; … … 278 278 if (errno == ETIMEDOUT) { 279 279 printf("gbox: hello expired!\n"); 280 gbox->hello_ not_expired = 0;280 gbox->hello_expired = 0; 281 281 } 282 282 } … … 556 556 557 557 if (final) { 558 if ( !gbox->hello_not_expired) {559 gbox->hello_ not_expired = 1;558 if (gbox->hello_expired) { 559 gbox->hello_expired = 0; 560 560 gbox_send_hello(cli); 561 561 … … 699 699 pthread_mutex_init(&gbox->lock, NULL); 700 700 701 gbox->hello_expired = 1; 702 701 703 gbox_send_hello(cli); 702 704
Note:
See TracChangeset
for help on using the changeset viewer.