gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 02/125: examples/xmlstream.c: don't switch off CURL


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 02/125: examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL
Date: Sun, 21 Jan 2018 23:40:57 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 744ee58386c41f487a8f62d5ce3f77a12b30ec9c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Dec 1 07:52:24 2017 +0100

    examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL
    
    Reported-by: Dima Tisnek
---
 docs/examples/xmlstream.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/examples/xmlstream.c b/docs/examples/xmlstream.c
index 8066828f2..9ee4a2e88 100644
--- a/docs/examples/xmlstream.c
+++ b/docs/examples/xmlstream.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <address@hidden>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -127,7 +127,7 @@ int main(void)
   XML_SetCharacterDataHandler(parser, characterDataHandler);
 
   /* Initialize a libcurl handle. */
-  curl_global_init(CURL_GLOBAL_ALL ^ CURL_GLOBAL_SSL);
+  curl_global_init(CURL_GLOBAL_DEFAULT);
   curl_handle = curl_easy_init();
   curl_easy_setopt(curl_handle, CURLOPT_URL,
                    "http://www.w3schools.com/xml/simple.xml";);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]