diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index e899aa6158..691a66141f 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -565,7 +565,7 @@ static switch_status_t lcr_load_config() switch_stream_handle_t order_by = { 0 }; switch_stream_handle_t pre_order = { 0 }; switch_stream_handle_t *thisorder = NULL; - char *reorder_by_rate = SWITCH_FALSE; + char *reorder_by_rate = NULL; char *id_s = NULL; char *custom_sql = NULL; int argc, x = 0; @@ -655,7 +655,7 @@ static switch_status_t lcr_load_config() } } - if (!switch_strlen_zero("reorder_by_rate")) { + if (!switch_strlen_zero(reorder_by_rate)) { profile->reorder_by_rate = switch_true(reorder_by_rate); } diff --git a/w32/Library/FreeSwitchCore.2008.vcproj b/w32/Library/FreeSwitchCore.2008.vcproj index bbc7db1634..911f0dce72 100644 --- a/w32/Library/FreeSwitchCore.2008.vcproj +++ b/w32/Library/FreeSwitchCore.2008.vcproj @@ -72,7 +72,7 @@ Name="VCLinkerTool" LinkLibraryDependencies="true" OutputFile="$(SolutionDir)$(ConfigurationName)/FreeSwitch.dll" - LinkIncremental="1" + LinkIncremental="2" AdditionalLibraryDirectories=""$(InputDir)..\..\libs\apr\$(OutDir)";"$(InputDir)..\..\libs\sqlite\$(OutDir) DLL";"$(InputDir)..\..\libs\apr-util\$(OutDir)";"$(InputDir)..\..\libs\apr-iconv\$(OutDir)";"$(InputDir)..\..\libs\libresample\win";"$(InputDir)..\..\libs\srtp\$(OutDir)"" AddModuleNamesToAssembly="" GenerateDebugInformation="true"