git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063b515
)
Yet more shadow variable warnings.
author
Tim Potter
<tpot@samba.org>
Mon, 30 Jun 2003 05:45:27 +0000
(
05:45
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 30 Jun 2003 05:45:27 +0000
(
05:45
+0000)
(This used to be commit
b401e78b6eb7efa2af74a7e645c3b34091041769
)
source3/utils/net_ads.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_ads.c
b/source3/utils/net_ads.c
index 9a824e2662f312789a58e77a4356cabb24d17a01..9454cbc9f5d4dc1573d7429534928921117ca65c 100644
(file)
--- 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;