]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3577 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 7 May 2012 16:44:19 +0000 (11:44 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 7 May 2012 16:44:19 +0000 (11:44 -0500)
src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c

index 927f30b53442a19105688cf0c936a634fa730e46..12cf01a650c6a13cb19c2f5b0058317d9f8128c0 100644 (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;