diff options
Diffstat (limited to 'src/plugins/fs/download.c')
-rw-r--r-- | src/plugins/fs/download.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index c7ed4d18..453a847e 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -109,6 +109,8 @@ refreshDirectoryViewFromDisk(DownloadList * list) { | |||
109 | &size, | 109 | &size, |
110 | YES)) | 110 | YES)) |
111 | return; | 111 | return; |
112 | if (size == 0) | ||
113 | return; | ||
112 | fd = disk_file_open(ectx, | 114 | fd = disk_file_open(ectx, |
113 | list->filename, | 115 | list->filename, |
114 | O_RDONLY); | 116 | O_RDONLY); |