aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/download.c')
-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 8bc32872..886af8a2 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -466,7 +466,7 @@ void displayDownloadComplete(const struct ECRS_URI * uri,
466 if (ECRS_equalsUri(u, uri)) { 466 if (ECRS_equalsUri(u, uri)) {
467 char *dstPath, *newFn, *dstFile; 467 char *dstPath, *newFn, *dstFile;
468 char fnURL[PATH_MAX + 1], dummy[2]; 468 char fnURL[PATH_MAX + 1], dummy[2];
469 ssizet_t len; 469 size_t len;
470 470
471 ren = ECRS_suggestFilename(ln); 471 ren = ECRS_suggestFilename(ln);
472 newFn = strrchr(ren ? ren : ln, DIR_SEPARATOR) + 1; 472 newFn = strrchr(ren ? ren : ln, DIR_SEPARATOR) + 1;