summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-05-22 20:35:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:10 -0500
commitec3021dc3bca5901c70b377c6205c37ce63011df (patch)
treea3d0ff667e3669e2c0a12eaeacb3a4c721cb13b3
parente2a90398eca525351022b47eb1e4b864ee9e63ea (diff)
downloadsamba-ec3021dc3bca5901c70b377c6205c37ce63011df.tar.gz
samba-ec3021dc3bca5901c70b377c6205c37ce63011df.tar.bz2
samba-ec3021dc3bca5901c70b377c6205c37ce63011df.zip
r15822: Add suggestion made by Ralf Haferkamp.
(This used to be commit 7c375fd540fa54ac8ae71c42ed07e01c593044b3)
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
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;