fixed a corrupted argument
This commit is contained in:
parent
5839652c41
commit
5eb29e2127
1 changed files with 1 additions and 2 deletions
|
@ -176,7 +176,7 @@ static int sync_synctree(list_t *syncs)
|
||||||
|
|
||||||
snprintf(path, PATH_MAX, "%s%s", root, dbpath);
|
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);
|
vprint("sync: new mtime for %s: %s\n", sync->treename, newmtime);
|
||||||
FREELIST(files);
|
FREELIST(files);
|
||||||
if(ret > 0) {
|
if(ret > 0) {
|
||||||
|
@ -448,7 +448,6 @@ int pacman_sync(list_t *targets)
|
||||||
MSG(NL, "::\n");
|
MSG(NL, "::\n");
|
||||||
if(!yesno(":: Upgrade anyway? [Y/n] ")) {
|
if(!yesno(":: Upgrade anyway? [Y/n] ")) {
|
||||||
retval = 0;
|
retval = 0;
|
||||||
alpm_trans_release();
|
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue