version 1.223, 2000/01/28 16:21:35
|
version 1.224, 2000/01/31 08:27:07
|
Line 2035 static void SafePut_init (void)
|
Line 2035 static void SafePut_init (void)
|
static void SafePut_init () |
static void SafePut_init () |
#endif /* __STDC__ */ |
#endif /* __STDC__ */ |
{ |
{ |
|
/*** |
CharUnit* strptr; |
CharUnit* strptr; |
CharUnit* str = NULL; |
CharUnit* str = NULL; |
char* ptr, strptrA[MAX_LENGTH]; |
char* ptr, strptrA[MAX_LENGTH]; |
|
***/ |
|
STRING strptr; |
|
STRING str = NULL; |
|
char *strptrA, *ptr; |
|
/*****/ |
char* domain; |
char* domain; |
|
|
/* get the proxy settings from the thot.ini file */ |
/* get the proxy settings from the thot.ini file */ |
Line 2045 static void SafePut_init ()
|
Line 2051 static void SafePut_init ()
|
if (strptr && *strptr) |
if (strptr && *strptr) |
{ |
{ |
/* Get copy we can mutilate */ |
/* Get copy we can mutilate */ |
|
/***** |
str = StringDuplicate (strptr); |
str = StringDuplicate (strptr); |
cus2iso_strcpy (strptrA, strptr); |
cus2iso_strcpy (strptrA, strptr); |
|
****/ |
|
str = TtaStrdup (strptr); |
|
strptrA = WideChar2ISO (str); |
|
/******/ |
/* convert to lowercase */ |
/* convert to lowercase */ |
ptr = strptrA; |
ptr = strptrA; |
while (*ptr) |
while (*ptr) |