Diff for /Amaya/amaya/AHTURLTools.c between versions 1.62 and 1.63

version 1.62, 1999/03/24 11:53:47 version 1.63, 1999/03/25 17:39:00
Line 250  const char         *path; Line 250  const char         *path;
    nsuffix[i] = EOS;     nsuffix[i] = EOS;
    if (!strcmp (nsuffix, "html") ||     if (!strcmp (nsuffix, "html") ||
        !strcmp (nsuffix, "htm") ||         !strcmp (nsuffix, "htm") ||
        !strcmp (nsuffix, "xhtl") ||         !strcmp (nsuffix, "shtml") ||
        !strcmp (nsuffix, "shtml"))         !strcmp (nsuffix, "xht") ||
          !strcmp (nsuffix, "xhtm") ||
          !strcmp (nsuffix, "xhtml"))
      return (TRUE);       return (TRUE);
    else if (!strcmp (nsuffix, "gz"))     else if (!strcmp (nsuffix, "gz"))
      {       {
Line 267  const char         *path; Line 269  const char         *path;
        nsuffix[i] = EOS;         nsuffix[i] = EOS;
        if (!strcmp (nsuffix, "html") ||         if (!strcmp (nsuffix, "html") ||
            !strcmp (nsuffix, "htm") ||             !strcmp (nsuffix, "htm") ||
            !strcmp (nsuffix, "xhtl") ||             !strcmp (nsuffix, "shtml") ||
            !strcmp (nsuffix, "shtml"))             !strcmp (nsuffix, "xht") ||
              !strcmp (nsuffix, "xhtm") ||
              !strcmp (nsuffix, "xhtml"))
    
          return (TRUE);           return (TRUE);
        else         else
          return (FALSE);           return (FALSE);
Line 957  const char         *path; Line 962  const char         *path;
          ConvertToLowerCase (suffix);           ConvertToLowerCase (suffix);
          }           }
   
        if ((strcmp (suffix, "gif")) && (strcmp (suffix, "xbm")) &&         if (strcmp (suffix, "gif") &&
            (strcmp (suffix, "xpm")) && (strcmp (suffix, "jpg")) &&             strcmp (suffix, "xbm") &&
            (strcmp (suffix, "pdf")) && (strcmp (suffix, "png")) &&             strcmp (suffix, "xpm") &&
            (strcmp (suffix, "tgz")) && (strcmp (suffix, "xpg")) &&             strcmp (suffix, "jpg") &&
            (strcmp (suffix, "xpd")) && (strcmp (suffix, "ps")) &&             strcmp (suffix, "pdf") &&
            (strcmp (suffix, "au"))  && (strcmp (suffix, "html")) &&             strcmp (suffix, "png") &&
            (strcmp (suffix, "htm")) && (strcmp (suffix, "shtml")) &&             strcmp (suffix, "tgz") &&
            (strcmp (suffix, "txt")) && (strcmp (suffix, "css")) &&             strcmp (suffix, "xpg") &&
            (strcmp (suffix, "eps")))             strcmp (suffix, "xpd") &&
              strcmp (suffix, "ps") &&
              strcmp (suffix, "au") &&
              strcmp (suffix, "html") &&
              strcmp (suffix, "htm") &&
              strcmp (suffix, "shtml") &&
              strcmp (suffix, "xht") &&
              strcmp (suffix, "xhtm") &&
              strcmp (suffix, "xhtml") &&
              strcmp (suffix, "txt") &&
              strcmp (suffix, "css") &&
              strcmp (suffix, "eps"))
          return (FALSE);           return (FALSE);
        else         else
          return (TRUE);           return (TRUE);

Removed from v.1.62  
changed lines
  Added in v.1.63


Webmaster