From: Michael Jerris Date: Mon, 21 May 2007 02:43:38 +0000 (+0000) Subject: typo X-Git-Tag: v1.0.6~38^3~854 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b47b11c88af9aff0f38f4e2f7fcc57ec6c5e554;p=thirdparty%2Ffreeswitch.git typo git-svn-id: http://svn.openzap.org/svn/openzap/trunk@58 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/freetdm/src/zap_threadmutex.c b/libs/freetdm/src/zap_threadmutex.c index 0ca028472e..4f9db6c1a6 100644 --- a/libs/freetdm/src/zap_threadmutex.c +++ b/libs/freetdm/src/zap_threadmutex.c @@ -110,7 +110,7 @@ zap_status_t zap_thread_create_detached_ex(zap_thread_function_t func, void *dat if (pthread_attr_setdetachstate(&thread->attribute, PTHREAD_CREATE_DETACHED) != 0) goto fail; - if (stacksize && pthread_attr_setstacksize(&thread->attribute, stacksize) != 0) goto fail; + if (stacksize && pthread_attr_setstacksize(&thread->attribute, thread->stack_size) != 0) goto fail; if (pthread_create(&thread->handle, &thread->attribute, thread_launch, thread) != 0) goto fail;