Experimental patch for outbound without translation

This commit is contained in:
Michiel Broek 2002-01-31 21:09:15 +00:00
parent aa2cd9c5e5
commit 3ca520d2e0

View File

@ -191,13 +191,14 @@ static void check_flo(file_list **lst, char *nm)
*q = '\0'; *q = '\0';
p = buf2; p = buf2;
} }
} else { // FIXME: removed because it is useless, but it may break some systems.
if (strncasecmp(p, CFG.uxpath, strlen(CFG.uxpath)) == 0) { // } else {
for (p=p, q=buf2+strlen(buf2); *p; p++, q++) // if (strncasecmp(p, CFG.uxpath, strlen(CFG.uxpath)) == 0) {
*q = ((*p) == '\\')?'/':tolower(*p); // for (p=p, q=buf2+strlen(buf2); *p; p++, q++)
*q = '\0'; // *q = ((*p) == '\\')?'/':tolower(*p);
p = buf2; // *q = '\0';
} // p = buf2;
// }
} }
if ((q=strrchr(p,'/'))) if ((q=strrchr(p,'/')))