From c0e4d5695da59fd6582a9f7de8cb025db7bfc52f Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 10 Sep 2015 15:42:53 +0200 Subject: [PATCH] proxy.c: remove unused functions --- coreapi/proxy.c | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/coreapi/proxy.c b/coreapi/proxy.c index 9bf24aa60..4c67905e1 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -848,35 +848,11 @@ static char *flatten_number(const char *number){ return result; } -static void replace_plus_with_icp(const char *src, char *dest, size_t destlen, const char *icp){ - int i=0; - - if (icp && src[0]=='+' && (destlen>(i=strlen(icp))) ){ - src++; - strncpy(dest, icp, destlen); - } - - for(;(idial_escape_plus) { - result = replace_plus_with_icp_new(flatten,dialplan.icp); + result = replace_plus_with_icp(flatten,dialplan.icp); } else { - result = replace_icp_with_plus_new(flatten,dialplan.icp); + result = replace_icp_with_plus(flatten,dialplan.icp); } }else{ /*0. keep at most national number significant digits */