Diff for /Amaya/amaya/AHTURLTools.c between versions 1.34 and 1.35

version 1.34, 1997/07/03 12:43:27 version 1.35, 1997/07/25 13:20:20
Line 820  HTURI               *parts; Line 820  HTURI               *parts;
   char * p;    char * p;
   char * after_access = name;    char * after_access = name;
   char       used_sep;    char       used_sep;
   char       my_path_sep;  
   
   if (name && strchr (name, URL_SEP))    if (name && strchr (name, URL_SEP))
     {      {
       used_sep = URL_SEP;        used_sep = URL_SEP;
       my_path_sep = ':';  
     }      }
   else    else
     {      {
       used_sep = DIR_SEP;        used_sep = DIR_SEP;
       my_path_sep = ':';  
     }      }
   
   memset(parts, '\0', sizeof(HTURI));    memset(parts, '\0', sizeof(HTURI));
Line 1074  char        *host; Line 1071  char        *host;
     char *path;      char *path;
     char *access = host-3;      char *access = host-3;
     char       used_sep;      char       used_sep;
     char      *used_str;  
   
       
      if (*filename && strchr (*filename, URL_SEP))       if (*filename && strchr (*filename, URL_SEP))
        {         {
          used_str = URL_STR;  
          used_sep = URL_SEP;           used_sep = URL_SEP;
        }         }
      else       else
        {         {
          used_str = DIR_STR;  
          used_sep = DIR_SEP;           used_sep = DIR_SEP;
        }         }
       
Line 1196  char        **url; Line 1190  char        **url;
   char *orig, *dest, *end;    char *orig, *dest, *end;
   
   char       used_sep;    char       used_sep;
   char      *used_str;  
   
   
   if (!url || !*url)    if (!url || !*url)
Line 1204  char        **url; Line 1197  char        **url;
   
   if (strchr (*url, URL_SEP))    if (strchr (*url, URL_SEP))
     {      {
       used_str = URL_STR;  
       used_sep = URL_SEP;        used_sep = URL_SEP;
     }      }
   else    else
     {      {
       used_str = DIR_STR;  
       used_sep = DIR_SEP;        used_sep = DIR_SEP;
     }      }
   
Line 1452  char            *relatedName; Line 1443  char            *relatedName;
     }      }
   return (return_value);    return (return_value);
 }  }
   
   

Removed from v.1.34  
changed lines
  Added in v.1.35


Webmaster