diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-28 23:08:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-28 23:08:06 +0300 |
commit | 3d144d9e59fced82ed36c0541801950af8a7c14f (patch) | |
tree | 79f940374362c8ccbd5cca27f15abc2ef2261dc1 /src/gui/whoisonline.cpp | |
parent | 8d2659ec0b1fd3695574543d116cb683d3ccacab (diff) | |
download | manaverse-3d144d9e59fced82ed36c0541801950af8a7c14f.tar.gz manaverse-3d144d9e59fced82ed36c0541801950af8a7c14f.tar.bz2 manaverse-3d144d9e59fced82ed36c0541801950af8a7c14f.tar.xz manaverse-3d144d9e59fced82ed36c0541801950af8a7c14f.zip |
fix compilation warning.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r-- | src/gui/whoisonline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp index 32846be7e..3e101338e 100644 --- a/src/gui/whoisonline.cpp +++ b/src/gui/whoisonline.cpp @@ -529,7 +529,8 @@ int WhoIsOnline::downloadThread(void *ptr) // Make sure the resources2.txt and news.txt aren't cached, // in order to always get the latest version. - struct curl_slist *pHeaders = curl_slist_append( + struct curl_slist *pHeaders = nullptr; + pHeaders = curl_slist_append( pHeaders, "pragma: no-cache"); pHeaders = curl_slist_append(pHeaders, "Cache-Control: no-cache"); |