]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
typo
authorMichael Jerris <mike@jerris.com>
Mon, 21 May 2007 02:43:38 +0000 (02:43 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 21 May 2007 02:43:38 +0000 (02:43 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@58 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/zap_threadmutex.c

index 0ca028472e0ecbf2ed8b07b9eaf3af5e2c854b70..4f9db6c1a6d87904bbc24d1ca2dde4dc918e4542 100644 (file)
@@ -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;