Commit 5e6693d3 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix compilation.

parent 64789a3b
...@@ -278,14 +278,14 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){ ...@@ -278,14 +278,14 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){
const char *localip = NULL; const char *localip = NULL;
char *tmp; char *tmp;
LinphoneAddress *contact;
if (obj->contact_params) if (obj->contact_params)
tmp = ms_strdup_printf("%s;%s", obj->reg_identity, obj->contact_params); tmp = ms_strdup_printf("%s;%s", obj->reg_identity, obj->contact_params);
else else
tmp = strdup(obj->reg_identity); tmp = strdup(obj->reg_identity);
LinphoneAddress *contact = linphone_address_new(tmp); contact = linphone_address_new(tmp);
if (!contact) { if (!contact) {
ms_error("No valid contact_params for [%s]",linphone_address_get_domain(proxy)); ms_error("No valid contact_params for [%s]",linphone_address_get_domain(proxy));
return NULL; return NULL;
......
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