From 5a4881bf396e691524329bcd6aa1ae4a7f4084ec Mon Sep 17 00:00:00 2001
From: Jeremy Allison <jra@samba.org>
Date: Tue, 27 Dec 2005 20:52:36 +0000
Subject: r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C") and
 replace calls to isupper/islower/toupper/tolower with ASCII equivalents
 (mapping into _w variants). Jeremy. (This used to be commit
 c2752347eb2deeb2798c580ec7fc751a847717e9)

---
 source3/web/swat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source3/web')

diff --git a/source3/web/swat.c b/source3/web/swat.c
index 15612484a3..3806291a6a 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -103,7 +103,7 @@ static char *stripspaceupper(const char *str)
 	char *p = newstring;
 
 	while (*str) {
-		if (*str != ' ') *p++ = toupper(*str);
+		if (*str != ' ') *p++ = toupper_ascii(*str);
 		++str;
 	}
 	*p = '\0';
-- 
cgit