Changeset 416:2db037c7ce5f in verona for libeXosip2/src/eXconf.c
- Timestamp:
- Jan 17, 2012 3:55:07 PM (16 months ago)
- Branch:
- default
- rebase_source:
- 6126c71f04a05bf0798d5cfae88e3467840eed65
- File:
-
- 1 edited
-
libeXosip2/src/eXconf.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libeXosip2/src/eXconf.c
r389 r416 636 636 int i; 637 637 struct eXtl_protocol* proto; 638 int port; 638 639 639 640 for(i = 0; proto = socks_proto_tab[i]; i++) … … 650 651 651 652 eXosip.eXtl = proto; 653 port = atoi(tport); 652 654 proto->tl_init(); 653 proto->tl_masquerade_contact(tserver, atoi(tport));655 proto->tl_masquerade_contact(tserver, port); 654 656 snprintf(eXosip.transport, sizeof(eXosip.transport), "%s", 655 657 proto->proto_num == IPPROTO_UDP ? "UDP" : "TCP"); … … 666 668 } 667 669 #endif 668 669 670 return 0; 670 671 } … … 770 771 eXosip.keep_alive = 17000; 771 772 772 eXtl_udp.tl_init(); 773 eXtl_tcp.tl_init(); 773 if (!eXosip.eXtl) { 774 eXtl_udp.tl_init(); 775 eXtl_tcp.tl_init(); 774 776 #ifdef HAVE_OPENSSL_SSL_H 775 777 #if !(OPENSSL_VERSION_NUMBER < 0x00908000L) 776 778 eXtl_dtls.tl_init(); 777 779 #endif 778 eXtl_tls.tl_init(); 780 eXtl_tls.tl_init(); 781 } 779 782 #endif 780 783 return OSIP_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.
