gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: NPE


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: NPE
Date: Mon, 25 Jun 2018 10:31:27 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9b325cc0e NPE
9b325cc0e is described below

commit 9b325cc0e6c308fbd0c37b6eebab735df1e67907
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Jun 25 10:31:23 2018 +0200

    NPE
---
 src/cadet/cadet_test_lib.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cadet/cadet_test_lib.c b/src/cadet/cadet_test_lib.c
index 760378c89..1a1c15f48 100644
--- a/src/cadet/cadet_test_lib.c
+++ b/src/cadet/cadet_test_lib.c
@@ -135,6 +135,11 @@ cadet_connect_adapter (void *cls,
   struct GNUNET_CADET_Handle *h;
 
   h = GNUNET_CADET_connect (cfg);
+  if (NULL == h)
+  {
+    GNUNET_break(0);
+    return NULL;
+  }
   if (NULL == ctx->ports)
     return h;
   actx->ports = GNUNET_new_array (ctx->port_count,

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



reply via email to

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