Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r--lib/libalpm/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index fb3c4147..f9ff6e5d 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -203,8 +203,8 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
}
_alpm_log(PM_LOG_DEBUG, _("using '%s' for download progress"), pkgname);
- snprintf(realfile, PATH_MAX, "%s/%s", localpath, fn);
- snprintf(output, PATH_MAX, "%s/%s.part", localpath, fn);
+ snprintf(realfile, PATH_MAX, "%s%s", localpath, fn);
+ snprintf(output, PATH_MAX, "%s%s.part", localpath, fn);
if(alpm_list_find_str(complete, fn)) {
continue;