b23719f865
can be configured to chain to other proxies.
13 lines
418 B
Text
13 lines
418 B
Text
$NetBSD: patch-ab,v 1.1 2008/02/27 16:14:25 apb Exp $
|
|
|
|
--- src/ntlm.c.orig 2006-10-15 10:40:04.000000000 +0200
|
|
+++ src/ntlm.c
|
|
@@ -43,7 +43,7 @@ int text2unicode(const char * text, char
|
|
buflen = ((buflen>>1)<<1);
|
|
if(!text || !buflen) return 0;
|
|
do {
|
|
- buf[count++] = toupper(*text++);
|
|
+ buf[count++] = toupper((unsigned char)*text++);
|
|
buf[count++] = '\0';
|
|
} while (*text && count < buflen);
|
|
return count;
|