aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-06-25 10:31:23 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-06-25 10:31:23 +0200
commit9b325cc0e6c308fbd0c37b6eebab735df1e67907 (patch)
tree45e6b4cfd1961fa4ce3c939206c9e30fd2eae998 /src
parent7c76a856cdc6ce7f6fffd6490d913bba3b40ae1d (diff)
downloadgnunet-9b325cc0e6c308fbd0c37b6eebab735df1e67907.tar.gz
gnunet-9b325cc0e6c308fbd0c37b6eebab735df1e67907.zip
NPE
Diffstat (limited to 'src')
-rw-r--r--src/cadet/cadet_test_lib.c5
1 files changed, 5 insertions, 0 deletions
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,
135 struct GNUNET_CADET_Handle *h; 135 struct GNUNET_CADET_Handle *h;
136 136
137 h = GNUNET_CADET_connect (cfg); 137 h = GNUNET_CADET_connect (cfg);
138 if (NULL == h)
139 {
140 GNUNET_break(0);
141 return NULL;
142 }
138 if (NULL == ctx->ports) 143 if (NULL == ctx->ports)
139 return h; 144 return h;
140 actx->ports = GNUNET_new_array (ctx->port_count, 145 actx->ports = GNUNET_new_array (ctx->port_count,