diff options
author | Tim Potter <tpot@samba.org> | 2003-06-30 05:45:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-06-30 05:45:27 +0000 |
commit | 9d4b66c9744297b7daf52177d2561f14e0579a2f (patch) | |
tree | 49cf417be13f15705aa710ad23b03d3883e54b35 /source3/utils | |
parent | 063b515525046d3dae16882693275109ff1dcc4f (diff) | |
download | samba-9d4b66c9744297b7daf52177d2561f14e0579a2f.tar.gz samba-9d4b66c9744297b7daf52177d2561f14e0579a2f.tar.bz2 samba-9d4b66c9744297b7daf52177d2561f14e0579a2f.zip |
Yet more shadow variable warnings.
(This used to be commit b401e78b6eb7efa2af74a7e645c3b34091041769)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 9a824e2662..9454cbc9f5 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1032,7 +1032,7 @@ static int net_ads_search(int argc, const char **argv) { ADS_STRUCT *ads; ADS_STATUS rc; - const char *exp; + const char *ldap_exp; const char **attrs; void *res = NULL; @@ -1044,12 +1044,12 @@ static int net_ads_search(int argc, const char **argv) return -1; } - exp = argv[0]; + ldap_exp = argv[0]; attrs = (argv + 1); rc = ads_do_search_all(ads, ads->config.bind_path, LDAP_SCOPE_SUBTREE, - exp, attrs, &res); + ldap_exp, attrs, &res); if (!ADS_ERR_OK(rc)) { d_printf("search failed: %s\n", ads_errstr(rc)); return -1; |