Diff for /Amaya/amaya/AHTURLTools.c between versions 1.41 and 1.42

version 1.41, 1997/10/09 10:35:42 version 1.42, 1997/10/13 11:47:24
Line 604  char               *docName; Line 604  char               *docName;
    else     else
      basename = (char *) NULL;       basename = (char *) NULL;
   
    if (strchr (orgName, URL_SEP) || (basename && strchr (basename, URL_SEP)))     /*if (strchr (orgName, URL_SEP) || (basename && strchr (basename, URL_SEP))) {*/
      {      if (strchr (orgName, DIR_SEP)) {
        used_str = URL_STR;        used_str = DIR_STR;
        used_sep = URL_SEP;        used_sep = DIR_SEP;
      }     } else {
    else           used_str = URL_STR;
      {           used_sep = URL_SEP;
        used_str = DIR_STR;     }
        used_sep = DIR_SEP;  
      }  
   
    /*     /*
     * Clean orgName      * Clean orgName
Line 969  int            wanted; Line 967  int            wanted;
   char       used_sep;    char       used_sep;
   char      *used_str;    char      *used_str;
   
   if (strchr (aName, URL_SEP) || strchr (relatedName, URL_SEP) )    /*if (strchr (aName, URL_SEP) || strchr (relatedName, URL_SEP) )*/
     if (strchr (aName, DIR_SEP))
     {      {
       used_str = URL_STR;        used_str = DIR_STR;
       used_sep = URL_SEP;        used_sep = DIR_SEP;
     }      }
   else    else
     {      {
       used_str = DIR_STR;        used_str = URL_STR;
       used_sep = DIR_SEP;        used_sep = URL_SEP;
     }      }
   
   /* Make working copies of input strings to cut up: */    /* Make working copies of input strings to cut up: */

Removed from v.1.41  
changed lines
  Added in v.1.42


Webmaster