mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix builds with LDAP_GROUPTING_TRANSACTION
This commit is contained in:
parent
cd8e154e4f
commit
db18784462
@ -1116,7 +1116,13 @@ static int process_response(
|
||||
LDAPMessage *res;
|
||||
int rc = LDAP_OTHER;
|
||||
|
||||
if( ldap_result( ld, msgid, txn ? 0 : 1, NULL, &res ) == -1 ) {
|
||||
if( ldap_result( ld, msgid,
|
||||
#ifdef LDAP_GROUP_TRANSACTION
|
||||
txn ? 0 : 1,
|
||||
#else
|
||||
1,
|
||||
#endif
|
||||
NULL, &res ) == -1 ) {
|
||||
ldap_get_option( ld, LDAP_OPT_ERROR_NUMBER, &rc );
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user