From 2adb94f3b45872a26b81755398372e97fdc1a852 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 29 Jun 2016 20:08:15 +0000 Subject: [PATCH] -disconnects DO happen --- src/util/mq.c | 3 +-- src/util/resolver_api.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util/mq.c b/src/util/mq.c index d4c5b1644..185fe5170 100644 --- a/src/util/mq.c +++ b/src/util/mq.c @@ -162,7 +162,7 @@ struct ServerClientSocketState /** * Active transmission request to the client. */ - struct GNUNET_SERVER_TransmitHandle* th; + struct GNUNET_SERVER_TransmitHandle *th; }; @@ -644,7 +644,6 @@ server_client_send_impl (struct GNUNET_MQ_Handle *mq, struct ServerClientSocketState *state = impl_state; GNUNET_assert (NULL != mq); - GNUNET_assert (NULL != state); state->th = GNUNET_SERVER_notify_transmit_ready (state->client, ntohs (msg->size), GNUNET_TIME_UNIT_FOREVER_REL, diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 9be7014c2..b41382683 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c @@ -337,7 +337,6 @@ static void mq_error_handler (void *cls, enum GNUNET_MQ_Error error) { - GNUNET_break (0); GNUNET_MQ_destroy (mq); mq = NULL; reconnect (); -- 2.25.1