From bf77c75f4329f8300ccb7cecd4f770e6e3b8573d Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Mon, 27 Jul 2009 23:37:45 +0000 Subject: [PATCH] Don't assume valid uuids are exactly 36 characters long git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14393 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_erlang_event/handle_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_erlang_event/handle_msg.c b/src/mod/event_handlers/mod_erlang_event/handle_msg.c index 747bc50822..dfe899d5b7 100644 --- a/src/mod/event_handlers/mod_erlang_event/handle_msg.c +++ b/src/mod/event_handlers/mod_erlang_event/handle_msg.c @@ -577,7 +577,7 @@ static switch_status_t handle_msg_handlecall(listener_t *listener, erlang_msg *m ei_x_encode_atom(rbuf, "badarg"); } else { switch_core_session_t *session; - if (!switch_strlen_zero_buf(uuid_str) && SWITCH_UUID_FORMATTED_LENGTH == strlen(uuid_str)) { + if (!switch_strlen_zero_buf(uuid_str)) { if ((session = switch_core_session_locate(uuid_str))) { /* create a new session list element and attach it to this listener */ if ((arity==2 && attach_call_to_pid(listener, &msg->from, session)) ||