From: Christian Grothoff Date: Fri, 16 Sep 2011 16:59:12 +0000 (+0000) Subject: c3267 X-Git-Tag: initial-import-from-subversion-38251~17066 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b299dbba72905f0d4e2def25d59784cdf80641f0;p=oweals%2Fgnunet.git c3267 --- diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index 4158e9197..0fe990eee 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c @@ -907,14 +907,14 @@ msg_received (void *cls, const struct GNUNET_MessageHeader *msg) { struct GNUNET_MESH_Handle *h = cls; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "mesh: received a message type %hu from MESH\n", - ntohs (msg->type)); if (msg == NULL) { reconnect (h); return; } + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "mesh: received a message type %hu from MESH\n", + ntohs (msg->type)); switch (ntohs (msg->type)) { /* Notify of a new incoming tunnel */