From ec3021dc3bca5901c70b377c6205c37ce63011df Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Mon, 22 May 2006 20:35:55 +0000 Subject: r15822: Add suggestion made by Ralf Haferkamp. (This used to be commit 7c375fd540fa54ac8ae71c42ed07e01c593044b3) --- source3/libads/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 3307ad83fe..bac85f3222 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -541,7 +541,7 @@ ADS_STATUS ads_do_paged_search_args(ADS_STRUCT *ads, const char *bind_path, } else { ExtendedDn.ldctl_value.bv_len = 0; - ExtendedDn.ldctl_value.bv_val = CONST_DISCARD(char *, ""); + ExtendedDn.ldctl_value.bv_val = NULL; } controls[0] = &NoReferrals; -- cgit