summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-24 17:27:54 +0100
committerVolker Lendecke <vl@sernet.de>2007-12-05 14:39:07 +0100
commit78c6ee0090f4122bc25baaacb5546517ad4b7bc6 (patch)
tree7b45cf85ff927e70552782b65bd73e50a637195f /source3/winbindd
parent66af0700396a5a5245aa25c95d70a620025b29c9 (diff)
downloadsamba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.tar.gz
samba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.tar.bz2
samba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.zip
Remove some globals
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 5c8c8ea13d..56ae4f27bb 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1466,8 +1466,8 @@ static void winbindd_set_locator_kdc_env(const struct winbindd_domain *domain)
return;
}
- if (asprintf(&var, "%s_%s", WINBINDD_LOCATOR_KDC_ADDRESS,
- strupper_static(domain->alt_name)) == -1) {
+ if (asprintf_strupper_m(&var, "%s_%s", WINBINDD_LOCATOR_KDC_ADDRESS,
+ domain->alt_name) == -1) {
return;
}
@@ -1503,8 +1503,8 @@ void winbindd_unset_locator_kdc_env(const struct winbindd_domain *domain)
return;
}
- if (asprintf(&var, "%s_%s", WINBINDD_LOCATOR_KDC_ADDRESS,
- strupper_static(domain->alt_name)) == -1) {
+ if (asprintf_strupper_m(&var, "%s_%s", WINBINDD_LOCATOR_KDC_ADDRESS,
+ domain->alt_name) == -1) {
return;
}