]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_dptools] remove duplicated code 1001/head
authorSeven Du <dujinfang@x-y-t.cn>
Thu, 17 Dec 2020 14:54:25 +0000 (22:54 +0800)
committerSeven Du <dujinfang@x-y-t.cn>
Thu, 17 Dec 2020 14:54:25 +0000 (22:54 +0800)
src/mod/applications/mod_dptools/mod_dptools.c

index 176b38074c8e639f13fb100cfc4e4912f47b17f2..48f992d758f68da75bb0313c86aac6a4c5107c76 100644 (file)
@@ -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;