From 7a8f2dd0d2d8746db4bfd778f5a841822704ebd1 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 30 Aug 2013 05:37:31 +0000 Subject: [PATCH] - fix --- src/mesh/gnunet-service-mesh-enc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c index f35a9b682..99a01d701 100644 --- a/src/mesh/gnunet-service-mesh-enc.c +++ b/src/mesh/gnunet-service-mesh-enc.c @@ -1884,6 +1884,9 @@ send_prebuilt_message_connection (const struct GNUNET_MessageHeader *message, bmsg->reserved = 0; break; + case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE: + break; + default: GNUNET_break (0); } @@ -5089,7 +5092,8 @@ queue_add (void *cls, uint16_t type, size_t size, } c->pending_messages++; - c->t->pending_messages++; + if (NULL != c->t) + c->t->pending_messages++; } -- 2.25.1