Diff for /Amaya/amaya/query.c between versions 1.225 and 1.226

version 1.225, 2000/01/31 17:08:54 version 1.226, 2000/02/01 09:35:00
Line 2037  static void SafePut_init () Line 2037  static void SafePut_init ()
 {  {
   CharUnit* strptr;    CharUnit* strptr;
   CharUnit* str = NULL;    CharUnit* str = NULL;
   char*     ptr, *strptrA;    char*     ptr, *strptrA, *ptr2;
   char*     domain;    char*     domain;
   
   /* get the proxy settings from the thot.ini file */    /* get the proxy settings from the thot.ini file */
Line 2048  static void SafePut_init () Line 2048  static void SafePut_init ()
       str = StringDuplicate (strptr);        str = StringDuplicate (strptr);
       strptrA = (char*) TtaGetMemory (StringLength (strptr) + 1);        strptrA = (char*) TtaGetMemory (StringLength (strptr) + 1);
       cus2iso_strcpy (strptrA, strptr);        cus2iso_strcpy (strptrA, strptr);
         ptr2 = strptrA;
       /* convert to lowercase */        /* convert to lowercase */
       ptr = strptrA;        ptr = strptrA;
       while (*ptr)         while (*ptr) 
Line 2063  static void SafePut_init () Line 2064  static void SafePut_init ()
           HTList_addObject (safeput_list, TtaStrdup (domain));             HTList_addObject (safeput_list, TtaStrdup (domain)); 
   
       TtaFreeMemory (str);        TtaFreeMemory (str);
       TtaFreeMemory (strptrA);        TtaFreeMemory (ptr2);
     }      }
 }  }
   

Removed from v.1.225  
changed lines
  Added in v.1.226


Webmaster