summaryrefslogtreecommitdiff
path: root/lib/libalpm/server.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-27 22:47:25 -0500
committerDan McGee <dan@archlinux.org>2007-09-28 00:16:43 -0500
commitd2edcb58e2252f90447694acc7736c0ba5b1f01e (patch)
tree0e805bb23b4b6012431cdff954598517b4fb34aa /lib/libalpm/server.c
parent16cb8e6e61c542731814192fc03e3988c7a26325 (diff)
downloadpacman-d2edcb58e2252f90447694acc7736c0ba5b1f01e.tar.xz
Update comments dealing with pkgext/dbext stripping
pacman/callback.c already did the work I set out to do with this commit, so update the comments accordingly in the frontend and backend. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r--lib/libalpm/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index 8d9c6f87..f0bdcbcf 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -193,8 +193,7 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
return(-1);
}
- /* use the raw filename for download progress */
- /* TODO maybe strip the normal pkg.tar.gz extension? */
+ /* pass the raw filename for passing to the callback function */
strncpy(pkgname, fn, PKG_NAME_LEN);
_alpm_log(PM_LOG_DEBUG, "using '%s' for download progress\n", pkgname);