dect
/
asterisk
Archived
13
0
Fork 0

Roll back previous change due to crossing of fixes

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5128 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
twisted 2005-03-03 16:27:28 +00:00
parent 7afe2191c3
commit 55d98810bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 */