diff --git a/coreapi/proxy.c b/coreapi/proxy.c index 61c56e611..6d9ba8181 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -279,9 +279,11 @@ int linphone_proxy_config_set_route(LinphoneProxyConfig *cfg, const char *route) return 0; }else{ ms_free(tmp); + return -1; } + } else { + return 0; } - return -1; } bool_t linphone_proxy_config_check(LinphoneCore *lc, LinphoneProxyConfig *cfg){ diff --git a/tester/CMakeLists.txt b/tester/CMakeLists.txt index 5f8e7f8c5..cef7f7a4f 100644 --- a/tester/CMakeLists.txt +++ b/tester/CMakeLists.txt @@ -53,8 +53,6 @@ find_program(SIPP_PROGRAM NAMES sipp sipp.exe ONLY_CMAKE_FIND_ROOT_PATH) if(SIPP_PROGRAM) add_definitions(-DHAVE_SIPP=1) add_definitions(-DSIPP_COMMAND="${SIPP_PROGRAM}") -else() - message(WARNING "Could not find sipp!") endif() add_definitions(-DBC_CONFIG_FILE="config.h")