Skip to content
Snippets Groups Projects
Commit db187844 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix builds with LDAP_GROUPTING_TRANSACTION

parent cd8e154e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment