FS-3577 --resolve

This commit is contained in:
Anthony Minessale 2012-05-07 11:44:19 -05:00
parent ca7a1acb1d
commit ce186707ff

View File

@ -819,7 +819,7 @@ static void listener_main_loop(listener_t *listener)
/* do we need the mutex when reading? */
/*switch_mutex_lock(listener->sock_mutex); */
status = ei_xreceive_msg_tmo(listener->sockfd, &msg, &buf, 100);
status = ei_xreceive_msg_tmo(listener->sockfd, &msg, &buf, 10);
/*switch_mutex_unlock(listener->sock_mutex); */
switch (status) {
@ -1411,8 +1411,7 @@ SWITCH_STANDARD_APP(erlang_outbound_function)
char *reg_name = NULL, *node, *module = NULL, *function = NULL;
listener_t *listener;
int argc = 0, argc2 = 0;
char *argv[80] = { 0 }, *argv2[80] = {
0};
char *argv[80] = { 0 }, *argv2[80] = { 0 };
char *mydata, *myarg;
char uuid[SWITCH_UUID_FORMATTED_LENGTH + 1];
switch_bool_t new_session = SWITCH_FALSE;