proxy: fix linphone_proxy_config_set_route return code

This commit is contained in:
Gautier Pelloux-Prayer 2015-10-05 12:16:46 +02:00
parent 71caaff491
commit c0d58391e9
2 changed files with 3 additions and 3 deletions

View file

@ -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){

View file

@ -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")