Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=476635fb9ec99d7299f59c5808c692f4619e9b0e
commit 476635fb9ec99d7299f59c5808c692f4619e9b0e Author: Michel Hermier <herm...@frugalware.org> Date: Fri Nov 15 17:36:10 2013 +0100 libpacman: Fix warnings (indirection typo). diff --git a/lib/libpacman/server.c b/lib/libpacman/server.c index a200466..f85b35a 100644 --- a/lib/libpacman/server.c +++ b/lib/libpacman/server.c @@ -418,7 +418,7 @@ int _pacman_downloadfiles_forreal(pmlist_t *servers, const char *localpath, if(!filedone) { if(!stat(output, &st)) { downloadstate.dst_resume = st.st_size; - if(!FtpRestart(&downloadstate.dst_resume, control)) { + if(!FtpRestart(downloadstate.dst_resume, control)) { _pacman_log(PM_LOG_WARNING, _("failed to resume download -- restarting\n")); /* can't resume: */ /* unlink the file in order to restart download from scratch */ @@ -489,7 +489,7 @@ int _pacman_downloadfiles_forreal(pmlist_t *servers, const char *localpath, if(mtime1 && *mtime1 != PM_TIME_INVALID) { fmtime1 = *gmtime(mtime1); } - if(!HttpGet(server->server, output, src, &downloadstate.dst_size, control, &downloadstate.dst_resume, + if(!HttpGet(server->server, output, src, &downloadstate.dst_size, control, downloadstate.dst_resume, (mtime1) ? &fmtime1 : NULL, (mtime2) ? &fmtime2 : NULL)) { if(strstr(FtpLastResponse(control), "304")) { _pacman_log(PM_LOG_DEBUG, _("mtimes are identical, skipping %s\n"), fn); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git