From 74eef60486544c543cd0af49fd7f35cb5f85604b Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Sat, 11 Feb 2006 06:29:34 +0000 Subject: [PATCH] kpfleming's fix from r9472 backported to 1.2 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9493 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2c4eb1642d..9e0b0665ca 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11342,7 +11342,7 @@ static int restart_monitor(void) pthread_kill(monitor_thread, SIGURG); } else { /* Start a new monitor */ - if (ast_pthread_create(&monitor_thread, &attr, do_monitor, NULL) < 0) { + if (ast_pthread_create(&monitor_thread, NULL, do_monitor, NULL) < 0) { ast_mutex_unlock(&monlock); ast_log(LOG_ERROR, "Unable to start monitor thread.\n"); return -1;