aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 07:00:53 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 07:00:53 +0000
commit766b97bcb92ccda2e17996bcf544de68284e7111 (patch)
tree50a50b7d026f4106cb6ae16e16e8e7d76d8d33cf /channels
parentb093da8912c4243011e2614dc560cf7ac6436632 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@9505 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 537ede871..493a3e93b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11452,7 +11452,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;