index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-03-06 01:21:41 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-06 01:21:41 +0000 |
commit | 5baba8439761a54c488ff42e4e599b3c93dbe669 (patch) | |
tree | 3c9a0585fb7a558bba9c9574777058e2e21d97e1 /lib/libalpm/server.c | |
parent | 869e81e1cf115e835040d0ecadb6108880103abe (diff) |
-rw-r--r-- | lib/libalpm/server.c | 4 |
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; |