1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Merge pull request #70 from sgerwk/master

do not display downloads of protocol "data:"
This commit is contained in:
rkd77 2020-09-19 11:14:29 +02:00 committed by GitHub
commit 01c232c4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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