From 17070e9dac68d2a0912e7cb7112c723db2c986fd Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 25 May 2014 16:07:35 +0000 Subject: [PATCH] mod_fifo: Improve strategy thread function names --- src/mod/applications/mod_fifo/mod_fifo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 6d9f8da59d..a5e24c6388 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1342,7 +1342,7 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_ } -static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void *obj) +static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thread, void *obj) { struct callback_helper *cbh = (struct callback_helper *) obj; char *node_name; @@ -1744,7 +1744,7 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void return NULL; } -static void *SWITCH_THREAD_FUNC o_thread_run(switch_thread_t *thread, void *obj) +static void *SWITCH_THREAD_FUNC outbound_enterprise_thread_run(switch_thread_t *thread, void *obj) { struct call_helper *h = (struct call_helper *) obj; @@ -1946,7 +1946,7 @@ static int place_call_enterprise_callback(void *pArg, int argc, char **argv, cha switch_threadattr_create(&thd_attr, h->pool); switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); - switch_thread_create(&thread, thd_attr, o_thread_run, h, h->pool); + switch_thread_create(&thread, thd_attr, outbound_enterprise_thread_run, h, h->pool); (*need)--; @@ -2003,7 +2003,7 @@ static void find_consumers(fifo_node_t *node) switch_threadattr_create(&thd_attr, cbh->pool); switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); - switch_thread_create(&thread, thd_attr, ringall_thread_run, cbh, cbh->pool); + switch_thread_create(&thread, thd_attr, outbound_ringall_thread_run, cbh, cbh->pool); } else { switch_core_destroy_memory_pool(&pool); }