diff options
author | Nils Durner <durner@gnunet.org> | 2005-12-20 19:41:43 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2005-12-20 19:41:43 +0000 |
commit | 52ee5feb07d1c2ad912ea1963e0142900b3b289e (patch) | |
tree | 77a367c33173eb4f111462d23bace6bc2a7c02f5 | |
parent | ff0a1d56ff5b7b00e95e697d3335f927bae867bd (diff) | |
download | gnunet-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.c | 2 |
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", |