1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

Trim trailing whitespaces.

This commit is contained in:
Laurent MONIN 2006-01-07 21:02:51 +01:00 committed by Laurent MONIN
parent eda6529ced
commit 8f2d4860bc

View File

@ -130,13 +130,13 @@ check_whether_file_exists(unsigned char *name)
for (i = 0; i < sizeof(chars) - 1; i++) {
unsigned char *pos = memchr(name, chars[i], namelen);
int exists;
if (!pos) continue;
*pos = 0;
exists = file_exists(name);
*pos = chars[i];
if (exists) {
return pos - name;
}
@ -155,7 +155,7 @@ check_uri_file(unsigned char *name)
for (i = 0; i < sizeof(chars) - 1; i++) {
unsigned char *pos = memchr(name, chars[i], namelen);
if (!pos) continue;
return pos - name;