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

commit 1a015aa05bb25e563859d1a02766f5183247b453
Author: Michel Hermier <[email protected]>
Date:   Thu Jul 31 10:12:03 2014 +0200

libpacman: Missing pointer dereference typo.

diff --git a/lib/libpacman/server.cpp b/lib/libpacman/server.cpp
index f8e4259..f0557e2 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) {
curl_easy_setopt(curlHandle, CURLOPT_FILETIME, 1);
curl_easy_setopt(curlHandle, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
-        curl_easy_setopt(curlHandle, CURLOPT_TIMEVALUE , (long)mtime1);
+               curl_easy_setopt(curlHandle, CURLOPT_TIMEVALUE , (long)*mtime1);
outputFile = fopen(output,"wb");
} else {
struct stat st;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to