summaryrefslogtreecommitdiff
path: root/res/res_musiconhold.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 /res/res_musiconhold.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 'res/res_musiconhold.c')
-rwxr-xr-xres/res_musiconhold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 647956532..f31b977cf 100755
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -548,7 +548,7 @@ static int moh_register(char *classname, char *mode, char *param, char *miscargs
#else
moh->pseudofd = -1;
#endif
- if (pthread_create(&moh->thread, NULL, monmp3thread, moh)) {
+ if (ast_pthread_create(&moh->thread, NULL, monmp3thread, moh)) {
ast_log(LOG_WARNING, "Unable to create moh...\n");
if (moh->pseudofd > -1)
close(moh->pseudofd);