Fixed VS2008 compiler warnings, including what clearly looks like a bug!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12027 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Robert Joly
2009-02-15 04:10:31 +00:00
parent 63eccfc974
commit a418b61f60
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);
}