From 25edcd6ccdc81ed99968ee57ac5628ca0e71fbec Mon Sep 17 00:00:00 2001 From: Seven Du Date: Thu, 17 Dec 2020 22:54:25 +0800 Subject: [PATCH] [mod_dptools] remove duplicated code --- src/mod/applications/mod_dptools/mod_dptools.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 176b38074c..48f992d758 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -2744,7 +2744,6 @@ SWITCH_STANDARD_APP(att_xfer_function) switch_threadattr_create(&thd_attr, pool); switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); - switch_threadattr_detach_set(thd_attr, 1); att = switch_core_session_alloc(session, sizeof(*att)); att->running = -1;