summaryrefslogtreecommitdiff
path: root/autoservice.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-08-08 17:15:02 +0000
committerMark Spencer <markster@digium.com>2004-08-08 17:15:02 +0000
commit7acee329e1e2f75c286d5f5140d2d05f1dbf4bd5 (patch)
treee2443cc3c4c3b09b706e611a61f475c509778c57 /autoservice.c
parent916566ac11f619843d36f76e386f74779e9e755d (diff)
Merge BSD stack size work (bug #2067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'autoservice.c')
-rwxr-xr-xautoservice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoservice.c b/autoservice.c
index 98a963353..0082ea87a 100755
--- a/autoservice.c
+++ b/autoservice.c
@@ -33,6 +33,7 @@
#include <asterisk/linkedlists.h>
#include <asterisk/indications.h>
#include <asterisk/lock.h>
+#include <asterisk/utils.h>
#define MAX_AUTOMONS 256
@@ -106,7 +107,7 @@ int ast_autoservice_start(struct ast_channel *chan)
aslist = as;
res = 0;
if (needstart) {
- if (pthread_create(&asthread, NULL, autoservice_run, NULL)) {
+ if (ast_pthread_create(&asthread, NULL, autoservice_run, NULL)) {
ast_log(LOG_WARNING, "Unable to create autoservice thread :(\n");
free(aslist);
aslist = NULL;