diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-26 23:29:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-26 23:29:54 +0000 |
commit | 54966ddcb4b15a8e84e9b7380781284013786980 (patch) | |
tree | c26a7eabe941753a15bbfe13eb1278db7c1f20ba /src/core/core_api.c | |
parent | 72f297a3fca8fb36719f219db402420e0978d44f (diff) | |
download | gnunet-54966ddcb4b15a8e84e9b7380781284013786980.tar.gz gnunet-54966ddcb4b15a8e84e9b7380781284013786980.zip |
set flag to know that client did call init, thereby avoiding assertion failure on code that expected initialized client
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 67f17352d..1c97a19d2 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -815,7 +815,7 @@ reconnect (struct GNUNET_CORE_Handle *h) | |||
815 | env = GNUNET_MQ_msg_extra (init, | 815 | env = GNUNET_MQ_msg_extra (init, |
816 | sizeof (uint16_t) * h->hcnt, | 816 | sizeof (uint16_t) * h->hcnt, |
817 | GNUNET_MESSAGE_TYPE_CORE_INIT); | 817 | GNUNET_MESSAGE_TYPE_CORE_INIT); |
818 | opt = 0; | 818 | opt = GNUNET_CORE_OPTION_INIT; |
819 | if (NULL != h->inbound_notify) | 819 | if (NULL != h->inbound_notify) |
820 | { | 820 | { |
821 | if (h->inbound_hdr_only) | 821 | if (h->inbound_hdr_only) |