aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-08-23 07:21:05 +0000
committerChristian Grothoff <christian@grothoff.org>2005-08-23 07:21:05 +0000
commit369c6668773884a3835385e4422e608dcc5d5fc0 (patch)
tree10c00801e728cb3c13dbbe89eac9729988dd617f
parent6e08a198da110de2d65f3ee4b0d25581b90eec60 (diff)
downloadgnunet-gtk-369c6668773884a3835385e4422e608dcc5d5fc0.tar.gz
gnunet-gtk-369c6668773884a3835385e4422e608dcc5d5fc0.zip
fix
-rw-r--r--src/plugins/fs/download.c2
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;