diff options
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r-- | src/identity/identity_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c index 441b63bf0..15a454e60 100644 --- a/src/identity/identity_api.c +++ b/src/identity/identity_api.c | |||
@@ -910,6 +910,7 @@ void | |||
910 | GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h) | 910 | GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h) |
911 | { | 911 | { |
912 | GNUNET_assert (NULL != h); | 912 | GNUNET_assert (NULL != h); |
913 | GNUNET_assert (h->op_head == h->op_tail); | ||
913 | if (h->reconnect_task != GNUNET_SCHEDULER_NO_TASK) | 914 | if (h->reconnect_task != GNUNET_SCHEDULER_NO_TASK) |
914 | { | 915 | { |
915 | GNUNET_SCHEDULER_cancel (h->reconnect_task); | 916 | GNUNET_SCHEDULER_cancel (h->reconnect_task); |