Commit aadecc85 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix minor Pth initialization bug

parent 49a0b0f7
......@@ -4,6 +4,7 @@ Changes included in OpenLDAP 1.2.12 Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2
Fixed ldapmodify ldaphost NULL bug
Fixed ldapsearch uninitialized fp bug
Fixed Pth initialization bug
Build Environment
Ignore make clean rm failure
......
......@@ -27,9 +27,14 @@ static pth_attr_t detach_attr;
int
ldap_pvt_thread_initialize( void )
{
if( !pth_init() ) {
return -1;
}
detach_attr = pth_attr_new();
pth_attr_set( detach_attr, PTH_ATTR_JOINABLE, 0 );
return pth_init();
return 0;
}
int
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment