summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-06 15:29:04 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-11 12:09:23 +0100
commit50d4c97b641d039d634322d5f1f2ff709c432765 (patch)
treef3974417fbabe8668f60e64e933d34297401e7b4 /linux
parent4de8674f208e05de78d7b44a550bb6c6f3cada07 (diff)
downloadqtlocation-mapboxgl-50d4c97b641d039d634322d5f1f2ff709c432765.tar.gz
whitespace + comments
Diffstat (limited to 'linux')
-rw-r--r--linux/request.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/request.cpp b/linux/request.cpp
index 4d760656ba..0c5eb4ac16 100644
--- a/linux/request.cpp
+++ b/linux/request.cpp
@@ -33,6 +33,7 @@ int Request::curl_progress_callback(void *ptr, double dltotal, double dlnow, dou
void Request::initialize() {
// curl init
curl_global_init(CURL_GLOBAL_ALL);
+
curl_share = curl_share_init();
curl_share_setopt(curl_share, CURLSHOPT_LOCKFUNC, curl_share_lock);
curl_share_setopt(curl_share, CURLSHOPT_UNLOCKFUNC, curl_share_unlock);