mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
1041: Do not show the "Error parsing" on ftp://sunsite.icm.edu.pl/.
This commit is contained in:
parent
49f529a582
commit
298f3af6c6
@ -1328,7 +1328,14 @@ ftp_process_dirlist(struct cache_entry *cached, off_t *pos,
|
||||
}
|
||||
|
||||
} else {
|
||||
ERROR("Error parsing: [%.*s]", line_length, buf);
|
||||
struct string string;
|
||||
|
||||
if (!init_string(&string)) return ret;
|
||||
add_bytes_to_string(&string, buf, line_length);
|
||||
add_char_to_string(&string, '\n');
|
||||
add_fragment(cached, *pos, string.source, string.length);
|
||||
*pos += string.length;
|
||||
done_string(&string);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user