fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
- epoch_start = (long)switch_epoch_time_now(NULL);
-
ts = switch_micro_time_now();
switch_time_exp_lt(&tm, ts);
epoch_start = (long)switch_epoch_time_now(NULL);
if (!pop) {
for (x = 0; x < MAX_PRI; x++) {
- q = node->fifo_list[x];
if (fifo_queue_pop(node->fifo_list[x], &pop_dup, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS && pop_dup) {
pop = pop_dup;
break;
while(node) {
int x = 0;
- switch_event_t *pop;
+ switch_event_t *pop = NULL;
this_node = node;
node = node->next;
if (cur_priority == 1 || need_sleep) {
switch_yield(1000000);
- need_sleep = 0;
}
}
switch_event_t *event = NULL;
char date[80] = "";
switch_time_exp_t tm;
- switch_time_t ts = switch_micro_time_now();
+ switch_time_t ts;
switch_size_t retsize;
char *list_string;
int nlist_count;
cc_off = xml_outbound(x_fifo, node, "outbound", "member", cc_off, verbose);
cc_off = xml_caller(x_fifo, node, "callers", "caller", cc_off, verbose);
cc_off = xml_hash(x_fifo, node->consumer_hash, "consumers", "consumer", cc_off, verbose);
- cc_off = xml_bridges(x_fifo, node, "bridges", "bridge", cc_off, verbose);
+ xml_bridges(x_fifo, node, "bridges", "bridge", cc_off, verbose);
}
void dump_hash(switch_hash_t *hash, switch_stream_handle_t *stream)