git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12696
d0543943-73ff-0310-b7d9-
9358b9ac24b2
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)) {
}
/* 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);
int odd = switch_test_flag(alloc, SPF_ODD);
switch_mutex_lock(alloc->mutex);
- srand((unsigned)(intptr_t)port_ptr + (unsigned)(intptr_t)switch_thread_self() + switch_micro_time_now());
+ srand((unsigned)((unsigned)(intptr_t)port_ptr + (unsigned)(intptr_t)switch_thread_self() + switch_micro_time_now()));
while (alloc->track_used < alloc->track_len) {
uint32_t index;