summaryrefslogtreecommitdiff
path: root/src/lib/update.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-17 11:01:11 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-17 15:40:55 +0100
commitc6b2624c1965740fa7b5d2230baf20156ff34151 (patch)
tree2e5f1882b59343306815fde5e75d34b22dcf4955 /src/lib/update.cc
parent9695a0f81ce2a0ccd02cf4608e7151e4f07baabc (diff)
Move curl_global_init() to dcpomatic_setup() and remove curl_global_cleanup.
Diffstat (limited to 'src/lib/update.cc')
-rw-r--r--src/lib/update.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/update.cc b/src/lib/update.cc
index 24cd28b16..7a3f0bd5d 100644
--- a/src/lib/update.cc
+++ b/src/lib/update.cc
@@ -57,7 +57,6 @@ UpdateChecker::UpdateChecker ()
, _emits (0)
, _to_do (0)
{
- curl_global_init (CURL_GLOBAL_ALL);
_curl = curl_easy_init ();
curl_easy_setopt (_curl, CURLOPT_URL, "http://dcpomatic.com/update");
@@ -76,7 +75,6 @@ UpdateChecker::~UpdateChecker ()
/* We are not cleaning up our thread, but hey well */
curl_easy_cleanup (_curl);
- curl_global_cleanup ();
delete[] _buffer;
}