mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-15 15:54:13 +00:00
fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12696 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0e91902dd5
commit
5d2b9966b0
2 files changed
+2
-2
No files matched your search
@@ -527,6 +527,7 @@ switch_status_t lcr_do_lookup(callback_t *cb_struct, char *digits)
|
||||
switch_bool_t lookup_status;
|
||||
switch_channel_t *channel;
|
||||
char *id_str;
|
||||
char *safe_sql;
|
||||
|
||||
digits_copy = string_digitsonly(cb_struct->pool, digits);
|
||||
if (switch_strlen_zero(digits_copy)) {
|
||||
@@ -558,7 +559,6 @@ switch_status_t lcr_do_lookup(callback_t *cb_struct, char *digits)
|
||||
}
|
||||
|
||||
/* set up the query to be executed */
|
||||
char *safe_sql;
|
||||
|
||||
/* format the custom_sql */
|
||||
safe_sql = format_custom_sql(profile->custom_sql, cb_struct, digits_copy);
|
||||
|
||||
Reference in new issue
Block a user