Diff for /Amaya/amaya/AHTURLTools.c between versions 1.220 and 1.221

version 1.220, 2009/01/12 09:24:23 version 1.221, 2009/01/13 11:32:34
Line 1349  char  *GetBaseURL (Document doc) Line 1349  char  *GetBaseURL (Document doc)
   /* search for the last DIR_SEP char */    /* search for the last DIR_SEP char */
   while (length >= 0  && basename[length] != URL_SEP  && basename[length] != DIR_SEP)    while (length >= 0  && basename[length] != URL_SEP  && basename[length] != DIR_SEP)
     length--;      length--;
   if (length > 1 && basename[length-1] == DIR_SEP && basename[length-2] == ':')    if (length > 1 && basename[length-1] == URL_SEP && basename[length-2] == ':')
     return (basename);      return (basename);
   if (length >= 0)    if (length >= 0)
     /* found the last DIR_SEP char, end the string there */      /* found the last DIR_SEP char, end the string there */

Removed from v.1.220  
changed lines
  Added in v.1.221


Webmaster