index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2015-11-10 20:51:55 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-11 13:47:08 +1000 |
commit | 9e22e75fa195b17efb6ad911e0e9910330e8a30a (patch) | |
tree | e76ef827e8d94f6b6a9811c6c94fdcfcca4962b4 /lib/libalpm/dload.c | |
parent | bf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 63523aa3..f3df9cd9 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -323,7 +323,7 @@ static void curl_set_handle_opts(struct dload_payload *payload, curl_easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE); curl_easy_setopt(curl, CURLOPT_TIMEVALUE, (long)st.st_mtime); _alpm_log(handle, ALPM_LOG_DEBUG, - "using time condition: %lu\n", (long)st.st_mtime); + "using time condition: %ld\n", (long)st.st_mtime); } else if(stat(payload->tempfile_name, &st) == 0 && payload->allow_resume) { /* a previous partial download exists, resume from end of file. */ payload->tempfile_openmode = "ab"; |