aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-06-29 01:32:28 +0000
committerChristian Grothoff <christian@grothoff.org>2007-06-29 01:32:28 +0000
commit8a068b08fce59f8eea2d00ae586093e5321b5c9f (patch)
tree4b37d80a467b80a693d05b138e36c5f8fdd0594d
parent2633939239834f84d008aa620ecaedb441a69fce (diff)
downloadgnunet-gtk-8a068b08fce59f8eea2d00ae586093e5321b5c9f.tar.gz
gnunet-gtk-8a068b08fce59f8eea2d00ae586093e5321b5c9f.zip
fixing assertion
-rw-r--r--src/plugins/fs/download.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index 15ed911d..e52aed7c 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -599,7 +599,8 @@ initiateDownload(GtkTreeModel * model,
599 SEARCH_INTERNAL_PARENT, &sdc.parentContext, 599 SEARCH_INTERNAL_PARENT, &sdc.parentContext,
600 -1); 600 -1);
601 if ( (sdc.idc_uri == NULL) || 601 if ( (sdc.idc_uri == NULL) ||
602 (! ECRS_isFileUri(sdc.idc_uri)) ) { 602 (! (ECRS_isFileUri(sdc.idc_uri) ||
603 ECRS_isLocationUri(sdc.idc_uri) ) ) ) {
603 GE_BREAK(ectx, 0); 604 GE_BREAK(ectx, 0);
604 FREENONNULL(idc_name); 605 FREENONNULL(idc_name);
605 FREENONNULL(idc_mime); 606 FREENONNULL(idc_mime);