diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-15 17:06:51 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-15 17:06:51 +0000 |
commit | f7792732e66b7fc9a6ef4a07ea35b3a2e50f3f69 (patch) | |
tree | ecf4b43a58baf92bedc87d65bbefb983d396a3e2 /source3/libads/ldap_utils.c | |
parent | ea598c28ff12f4940a688d37ed6a84bf7afb4101 (diff) | |
download | samba-f7792732e66b7fc9a6ef4a07ea35b3a2e50f3f69.tar.gz samba-f7792732e66b7fc9a6ef4a07ea35b3a2e50f3f69.tar.bz2 samba-f7792732e66b7fc9a6ef4a07ea35b3a2e50f3f69.zip |
Change variable name to get this working on gcc 3.2 (Merge from HEAD)
(This used to be commit d49113caef6057905f0f5233ea3085ca5722e742)
Diffstat (limited to 'source3/libads/ldap_utils.c')
-rw-r--r-- | source3/libads/ldap_utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libads/ldap_utils.c b/source3/libads/ldap_utils.c index 907f7c8aff..6855600288 100644 --- a/source3/libads/ldap_utils.c +++ b/source3/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, |