From 57fb23f1aa36765a34ea07b0f65645567ead3fac Mon Sep 17 00:00:00 2001 From: David Vossel Date: Mon, 23 May 2011 16:15:18 +0000 Subject: [PATCH] Adds missing part to the ast_tcptls_server_start fails second attempt to bind patch. (closes issue #19289) Reported by: wdoekes Patches: issue19289_delay_old_address_setting_tcptls_2.patch uploaded by wdoekes (license 717) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@320562 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/tcptls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/tcptls.c b/main/tcptls.c index 2b51b49c16..816c980e64 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -510,6 +510,7 @@ void ast_tcptls_server_stop(struct ast_tcptls_session_args *desc) pthread_cancel(desc->master); pthread_kill(desc->master, SIGURG); pthread_join(desc->master, NULL); + desc->master = AST_PTHREADT_NULL; } if (desc->accept_fd != -1) close(desc->accept_fd); -- 2.47.2