/* 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) {
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;