]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Sat, 11 Feb 2006 07:00:53 +0000 (07:00 +0000)
committerAutomerge script <automerge@asterisk.org>
Sat, 11 Feb 2006 07:00:53 +0000 (07:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@9505 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 537ede87176f034cbb77ead52ad28246716fd81c..493a3e93b48ee7c677640a8525477b43e9b5c23d 100644 (file)
@@ -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;