Roll back previous change due to crossing of fixes
authorJosh Roberson <josh@asteriasgi.com>
Thu, 3 Mar 2005 16:27:28 +0000 (16:27 +0000)
committerJosh Roberson <josh@asteriasgi.com>
Thu, 3 Mar 2005 16:27:28 +0000 (16:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils.c

diff --git a/utils.c b/utils.c
index 3bd35b3..6267bbb 100755 (executable)
--- 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_STACK_SIZE);
+       errno = pthread_attr_setstacksize(attr, AST_STACKSIZE);
        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 */