version 1.224, 2000/01/31 08:27:07
|
version 1.225, 2000/01/31 17:08:54
|
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; |
***/ |
|
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 2051 static void SafePut_init ()
|
Line 2045 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); |
|
strptrA = (char*) TtaGetMemory (StringLength (strptr) + 1); |
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) |
Line 2073 static void SafePut_init ()
|
Line 2063 static void SafePut_init ()
|
HTList_addObject (safeput_list, TtaStrdup (domain)); |
HTList_addObject (safeput_list, TtaStrdup (domain)); |
|
|
TtaFreeMemory (str); |
TtaFreeMemory (str); |
|
TtaFreeMemory (strptrA); |
} |
} |
} |
} |
|
|