Commit d1cee955 authored by Simon Morlat's avatar Simon Morlat
Browse files

update ms2 and fix non ansi c

parent a24ea4b1
...@@ -249,13 +249,14 @@ static char *guess_contact_for_register(LinphoneProxyConfig *obj){ ...@@ -249,13 +249,14 @@ static char *guess_contact_for_register(LinphoneProxyConfig *obj){
if (host!=NULL){ if (host!=NULL){
LinphoneAddress *contact; LinphoneAddress *contact;
char localip[LINPHONE_IPADDR_SIZE]; char localip[LINPHONE_IPADDR_SIZE];
LCSipTransports tr;
linphone_core_get_local_ip(obj->lc,host,localip); linphone_core_get_local_ip(obj->lc,host,localip);
contact=linphone_address_new(obj->reg_identity); contact=linphone_address_new(obj->reg_identity);
linphone_address_set_domain (contact,localip); linphone_address_set_domain (contact,localip);
linphone_address_set_port_int(contact,linphone_core_get_sip_port(obj->lc)); linphone_address_set_port_int(contact,linphone_core_get_sip_port(obj->lc));
linphone_address_set_display_name(contact,NULL); linphone_address_set_display_name(contact,NULL);
LCSipTransports tr;
linphone_core_get_sip_transports(obj->lc,&tr); linphone_core_get_sip_transports(obj->lc,&tr);
if (tr.udp_port <= 0 && tr.tcp_port>0) { if (tr.udp_port <= 0 && tr.tcp_port>0) {
sal_address_add_param(contact,"transport","tcp"); sal_address_add_param(contact,"transport","tcp");
......
mediastreamer2 @ 874577ad
Subproject commit 9557b33ab49e4c309bc1f954a2afae25079c757a Subproject commit 874577ad3a835255fc719da26f5dbdadf301aa01
...@@ -29,6 +29,7 @@ coreapi/presence.c ...@@ -29,6 +29,7 @@ coreapi/presence.c
coreapi/friend.c coreapi/friend.c
coreapi/proxy.c coreapi/proxy.c
coreapi/callbacks.c coreapi/callbacks.c
coreapi/sal_eXosip2.c
mediastreamer2/src/alaw.c mediastreamer2/src/alaw.c
mediastreamer2/src/alsa.c mediastreamer2/src/alsa.c
mediastreamer2/src/aqsnd.c mediastreamer2/src/aqsnd.c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment