From 5e6693d30ada71da175715ff147aab33452a1f24 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 10 Oct 2013 16:58:21 +0200 Subject: [PATCH] Fix compilation. --- coreapi/proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/proxy.c b/coreapi/proxy.c index fcfdc6697..b7edfdb81 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -278,14 +278,14 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){ const char *localip = NULL; char *tmp; - + LinphoneAddress *contact; if (obj->contact_params) tmp = ms_strdup_printf("%s;%s", obj->reg_identity, obj->contact_params); else tmp = strdup(obj->reg_identity); - LinphoneAddress *contact = linphone_address_new(tmp); + contact = linphone_address_new(tmp); if (!contact) { ms_error("No valid contact_params for [%s]",linphone_address_get_domain(proxy)); return NULL;