summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorJosh Roberson <josh@asteriasgi.com>2005-03-03 16:21:33 +0000
committerJosh Roberson <josh@asteriasgi.com>2005-03-03 16:21:33 +0000
commit2a4ae392f0328ade90b4d5a8257d9e00153e6e5f (patch)
treebb2734bc6c6f65a4058c6293d28514917fc543a1 /utils.c
parentb9a34d86349acf094707444ae70f98951c1efb9d (diff)
Fix AST_STACKSIZE to match utils.h of AST_STACK_SIZE (bug 3706)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 6267bbbb7..3bd35b3ba 100755
--- a/utils.c
+++ b/utils.c
@@ -396,7 +396,7 @@ int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_ro
pthread_attr_init(&lattr);
attr = &lattr;
}
- errno = pthread_attr_setstacksize(attr, AST_STACKSIZE);
+ errno = pthread_attr_setstacksize(attr, AST_STACK_SIZE);
if (errno)
ast_log(LOG_WARNING, "pthread_attr_setstacksize returned non-zero: %s\n", strerror(errno));
return pthread_create(thread, attr, start_routine, data); /* We're in ast_pthread_create, so it's okay */