summaryrefslogtreecommitdiff
path: root/source/libads/ldap_utils.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-15 17:06:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-15 17:06:51 +0000
commitd49113caef6057905f0f5233ea3085ca5722e742 (patch)
tree85ff3876fcb0009eb20c77076f6ef898038632b4 /source/libads/ldap_utils.c
parent0bc9e5e5d7977113f926e3334ccff330116da565 (diff)
downloadsamba-d49113caef6057905f0f5233ea3085ca5722e742.tar.gz
Change variable name to get this working on gcc 3.2 (Merge from HEAD)
Diffstat (limited to 'source/libads/ldap_utils.c')
-rw-r--r--source/libads/ldap_utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/libads/ldap_utils.c b/source/libads/ldap_utils.c
index 907f7c8aff5..68556002880 100644
--- a/source/libads/ldap_utils.c
+++ b/source/libads/ldap_utils.c
@@ -28,7 +28,7 @@
this is supposed to catch dropped connections and auto-reconnect
*/
ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope,
- const char *exp,
+ const char *expr,
const char **attrs, void **res)
{
ADS_STATUS status;
@@ -46,10 +46,10 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope
return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
while (count--) {
- status = ads_do_search_all(ads, bp, scope, exp, attrs, res);
+ status = ads_do_search_all(ads, bp, scope, expr, attrs, res);
if (ADS_ERR_OK(status)) {
DEBUG(5,("Search for %s gave %d replies\n",
- exp, ads_count_replies(ads, *res)));
+ expr, ads_count_replies(ads, *res)));
free(bp);
return status;
}
@@ -79,11 +79,11 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope
ADS_STATUS ads_search_retry(ADS_STRUCT *ads, void **res,
- const char *exp,
+ const char *expr,
const char **attrs)
{
return ads_do_search_retry(ads, ads->config.bind_path, LDAP_SCOPE_SUBTREE,
- exp, attrs, res);
+ expr, attrs, res);
}
ADS_STATUS ads_search_retry_dn(ADS_STRUCT *ads, void **res,