aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2005-12-20 19:41:43 +0000
committerNils Durner <durner@gnunet.org>2005-12-20 19:41:43 +0000
commit52ee5feb07d1c2ad912ea1963e0142900b3b289e (patch)
tree77a367c33173eb4f111462d23bace6bc2a7c02f5
parentff0a1d56ff5b7b00e95e697d3335f927bae867bd (diff)
downloadgnunet-gtk-52ee5feb07d1c2ad912ea1963e0142900b3b289e.tar.gz
gnunet-gtk-52ee5feb07d1c2ad912ea1963e0142900b3b289e.zip
Fix "Could not open symlink..." if LE suggests a different filename for download
-rw-r--r--src/plugins/fs/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index 9fc0fe95..2ee8becf 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -484,7 +484,7 @@ void displayDownloadComplete(const struct ECRS_URI * uri,
484 char fnURL[PATH_MAX + 1], dummy[2]; 484 char fnURL[PATH_MAX + 1], dummy[2];
485 size_t len; 485 size_t len;
486 486
487 ren = ECRS_suggestFilename(ln); 487 ren = ECRS_suggestFilename(fn);
488 newFn = strrchr(ren ? ren : ln, DIR_SEPARATOR) + 1; 488 newFn = strrchr(ren ? ren : ln, DIR_SEPARATOR) + 1;
489 489
490 dstPath = getFileName("FS", 490 dstPath = getFileName("FS",