summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-02 21:48:40 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-01-02 21:48:40 +0100
commit5eb29e2127e6834a52c452a8dc07dba7f68f283e (patch)
tree22862c2a168888d4ec9d11b93adf2eadde5560fc /src
parent5839652c410415c496f4ae59692fa3541331bb95 (diff)
downloadpacman-5eb29e2127e6834a52c452a8dc07dba7f68f283e.tar.gz
pacman-5eb29e2127e6834a52c452a8dc07dba7f68f283e.tar.xz
fixed a corrupted argument
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 11876ead..6c8d7454 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -176,7 +176,7 @@ static int sync_synctree(list_t *syncs)
snprintf(path, PATH_MAX, "%s%s", root, dbpath);
- ret = downloadfiles_forreal(sync->servers, path, files, (const char *)&lastupdate, newmtime);
+ ret = downloadfiles_forreal(sync->servers, path, files, lastupdate, newmtime);
vprint("sync: new mtime for %s: %s\n", sync->treename, newmtime);
FREELIST(files);
if(ret > 0) {
@@ -448,7 +448,6 @@ int pacman_sync(list_t *targets)
MSG(NL, "::\n");
if(!yesno(":: Upgrade anyway? [Y/n] ")) {
retval = 0;
- alpm_trans_release();
goto cleanup;
}
}