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 678c48a0..ef572eda 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -249,6 +249,8 @@ void displayDownloadUpdate(const struct ECRS_URI * uri, | |||
249 | DOWNLOAD_SIZE, &total, | 249 | DOWNLOAD_SIZE, &total, |
250 | DOWNLOAD_URI, &u, | 250 | DOWNLOAD_URI, &u, |
251 | -1); | 251 | -1); |
252 | if (u == NULL) | ||
253 | return; | ||
252 | if (ECRS_equalsUri(u, uri)) { | 254 | if (ECRS_equalsUri(u, uri)) { |
253 | if (total != 0) | 255 | if (total != 0) |
254 | val = completed * 100 / total; | 256 | val = completed * 100 / total; |