Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=0e9167b37877b4c42bb118ed9e51826f37f3129c

commit 0e9167b37877b4c42bb118ed9e51826f37f3129c
Author: Michel Hermier <[email protected]>
Date:   Fri Aug 1 14:14:42 2014 +0200

libpacman: Fix typo in printf format string.

diff --git a/lib/libpacman/server.cpp b/lib/libpacman/server.cpp
index 06ea5ac..c12f3aa 100644
--- a/lib/libpacman/server.cpp
+++ b/lib/libpacman/server.cpp
@@ -257,7 +257,7 @@ pmdownloadsuccess_t 
_pacman_curl_download(pmcurldownloader_t *curldownloader, co
if(mtime1 && mtime2 && !curldownloader->m_handle->proxyhost) {
long cache_time = mtime1->toEpoch(); /* curl_easy_setopt require it as long */

-               _pacman_log(PM_LOG_DEBUG, _("setting cache time '%l' (epoch) 
for file: %s\n"), cache_time, url);
+               _pacman_log(PM_LOG_DEBUG, _("setting cache time '%li' (epoch) 
for file: %s\n"), cache_time, url);
curl_easy_setopt(curlHandle, CURLOPT_FILETIME, 1);
curl_easy_setopt(curlHandle, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
curl_easy_setopt(curlHandle, CURLOPT_TIMEVALUE, cache_time);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to