Skip to content

Commit

Permalink
Use talloc_get_type_abort to convert the void to ldap_handle_t in rlm…
Browse files Browse the repository at this point in the history
…_ldap_rebind
  • Loading branch information
arr2036 committed Oct 28, 2013
1 parent 50878ff commit 809447a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_ldap/ldap.c
Expand Up @@ -1019,7 +1019,7 @@ static int rlm_ldap_rebind(LDAP *handle, LDAP_CONST char *url, UNUSED ber_tag_t
void *ctx)
{
ldap_rcode_t status;
ldap_handle_t *conn = ctx;
ldap_handle_t *conn = talloc_get_type_abort(ctx, ldap_handle_t);

int ldap_errno;

Expand Down

0 comments on commit 809447a

Please sign in to comment.