summaryrefslogtreecommitdiffstats
path: root/source/libsmb/namequery_dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/namequery_dc.c')
-rw-r--r--source/libsmb/namequery_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/namequery_dc.c b/source/libsmb/namequery_dc.c
index 8bfb00b9adc..c9d45a7acc1 100644
--- a/source/libsmb/namequery_dc.c
+++ b/source/libsmb/namequery_dc.c
@@ -57,7 +57,7 @@ static BOOL ads_dc_name(const char *domain, struct in_addr *dc_ip, fstring srv_n
return False;
fstrcpy(srv_name, ads->config.ldap_server_name);
- strupper(srv_name);
+ strupper_m(srv_name);
*dc_ip = ads->ldap_ip;
ads_destroy(&ads);