[Asterisk-cvs] asterisk utils.c,1.30,1.31

twisted at lists.digium.com twisted at lists.digium.com
Thu Mar 3 10:24:20 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13308

Modified Files:
	utils.c 
Log Message:
Fix AST_STACKSIZE to match utils.h of AST_STACK_SIZE (bug 3706)


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- utils.c	3 Mar 2005 16:18:44 -0000	1.30
+++ utils.c	3 Mar 2005 16:21:33 -0000	1.31
@@ -396,7 +396,7 @@
 		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 */




More information about the svn-commits mailing list