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';
p = buf2;
}
} else {
if (strncasecmp(p, CFG.uxpath, strlen(CFG.uxpath)) == 0) {
for (p=p, q=buf2+strlen(buf2); *p; p++, q++)
*q = ((*p) == '\\')?'/':tolower(*p);
*q = '\0';
p = buf2;
}
// FIXME: removed because it is useless, but it may break some systems.
// } else {
// if (strncasecmp(p, CFG.uxpath, strlen(CFG.uxpath)) == 0) {
// for (p=p, q=buf2+strlen(buf2); *p; p++, q++)
// *q = ((*p) == '\\')?'/':tolower(*p);
// *q = '\0';
// p = buf2;
// }
}
if ((q=strrchr(p,'/')))