diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-12-28 23:45:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-12-28 23:46:08 +0100 |
commit | cde1c9fb5251df1b91f301aad21693ec5a705633 (patch) | |
tree | cc888f4f466b9d074d8da4c4b9e99086d3892d1d /src/cadet/cadet_api.c | |
parent | 00e8294a6524f27b8cc959fb4f777ee86e1d482c (diff) | |
download | gnunet-cde1c9fb5251df1b91f301aad21693ec5a705633.tar.gz gnunet-cde1c9fb5251df1b91f301aad21693ec5a705633.zip |
add assertion
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 37de27db1..366e31405 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1158,6 +1158,7 @@ reconnect (struct GNUNET_CADET_Handle *h) | |||
1158 | GNUNET_MQ_handler_end () | 1158 | GNUNET_MQ_handler_end () |
1159 | }; | 1159 | }; |
1160 | 1160 | ||
1161 | GNUNET_assert (NULL == h->mq); | ||
1161 | h->mq = GNUNET_CLIENT_connect (h->cfg, | 1162 | h->mq = GNUNET_CLIENT_connect (h->cfg, |
1162 | "cadet", | 1163 | "cadet", |
1163 | handlers, | 1164 | handlers, |