gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -split error cases for more precise logg


From: gnunet
Subject: [gnunet] branch master updated: -split error cases for more precise logging
Date: Wed, 14 Sep 2022 10:50:46 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 1399cdb9c -split error cases for more precise logging
1399cdb9c is described below

commit 1399cdb9cc594f9faa4a5024551260b9757279a9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Sep 14 10:50:37 2022 +0200

    -split error cases for more precise logging
---
 src/curl/curl.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/curl/curl.c b/src/curl/curl.c
index e45612e94..d262f487c 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -428,8 +428,14 @@ setup_job (CURL *eh,
        (CURLE_OK !=
         curl_easy_setopt (eh,
                           CURLOPT_SHARE,
-                          ctx->share)) ||
-       (CURLM_OK !=
+                          ctx->share)) )
+  {
+    GNUNET_break (0);
+    GNUNET_free (job);
+    curl_easy_cleanup (eh);
+    return NULL;
+  }
+  if ( (CURLM_OK !=
         curl_multi_add_handle (ctx->multi,
                                eh)) )
   {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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