diff --git a/libraries/libldap_r/thr_thr.c b/libraries/libldap_r/thr_thr.c index c86fa542d3..231d3be57e 100644 --- a/libraries/libldap_r/thr_thr.c +++ b/libraries/libldap_r/thr_thr.c @@ -57,9 +57,8 @@ ldap_pvt_thread_create( ldap_pvt_thread_t * thread, void *(*start_routine)( void *), void *arg) { - return( thr_create( NULL, 0, start_routine, arg, - detach ? THR_DETACHED : 0, - thread ) ); + return( thr_create( NULL, LDAP_PVT_THREAD_STACK_SIZE, start_routine, + arg, detach ? THR_DETACHED : 0, thread ) ); } void