From 42ad4a004e77aed1a93f171212fb310e7309efd6 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 4 Nov 2016 09:12:35 +0100 Subject: [PATCH] fix compilation issue --- coreapi/proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/proxy.c b/coreapi/proxy.c index bac2334b2..404476af0 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -603,9 +603,9 @@ static char *flatten_number(const char *number){ return result; } -static char* replace_plus_with_icp(char *phone, const char* icp){ +/*static char* replace_plus_with_icp(char *phone, const char* icp){ return (icp && phone[0]=='+') ? ms_strdup_printf("%s%s", icp, phone+1) : ms_strdup(phone); -} +}*/ static char* replace_icp_with_plus(char *phone, const char *icp){ return (strstr(phone, icp) == phone) ? ms_strdup_printf("+%s", phone+strlen(icp)) : ms_strdup(phone);