From fc90792e8f06e0685ebc1899e4c8c61c1e1782b9 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 19 Apr 2008 13:36:55 +0000 Subject: [PATCH] Changed curl_global_init call to initialize everything. Added missing cleanup call. --- src/pokerth.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pokerth.cpp b/src/pokerth.cpp index a69d6bd8..0f53ee2d 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -75,7 +75,7 @@ int main( int argc, char **argv ) //_CrtSetBreakAlloc(49937); socket_startup(); - curl_global_init(CURL_GLOBAL_NOTHING); + curl_global_init(CURL_GLOBAL_ALL); /////// can be removed for non-qt-guis //////////// QApplication a( argc, argv ); @@ -136,6 +136,7 @@ int main( int argc, char **argv ) int retVal = a.exec(); + curl_global_cleanup(); socket_cleanup(); return retVal; }