1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

do not display downloads of protocol "data:"

This commit is contained in:
sgerwk 2020-09-19 10:11:09 +02:00
parent fefe69f9a5
commit 70b8e214a9

View File

@ -238,6 +238,9 @@ display_download(struct terminal *term, struct file_download *file_download,
if (!is_in_downloads_list(file_download)) if (!is_in_downloads_list(file_download))
return; return;
if (file_download->uri->protocol == PROTOCOL_DATA)
return;
#ifdef CONFIG_BITTORRENT #ifdef CONFIG_BITTORRENT
#define DOWNLOAD_WIDGETS_COUNT 5 #define DOWNLOAD_WIDGETS_COUNT 5
#else #else