mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
proxy: fix linphone_proxy_config_set_route return code
This commit is contained in:
parent
71caaff491
commit
c0d58391e9
2 changed files with 3 additions and 3 deletions
|
|
@ -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){
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue