From: LRN Date: Fri, 24 Aug 2012 12:20:58 +0000 (+0000) Subject: More dont-access-t-when-it-is-NULL fixes X-Git-Tag: initial-import-from-subversion-38251~12108 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e58a85b4f948b764544a48a684a20e7a1522367e;p=oweals%2Fgnunet.git More dont-access-t-when-it-is-NULL fixes --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index d7b6c8d32..7cc84fa36 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -7127,10 +7127,7 @@ handle_local_multicast (void *cls, struct GNUNET_SERVER_Client *client, GNUNET_break (0); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Tunnel %X unknown.\n", tid); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " for client %u.\n", c->id); - if (t->owner == c) - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " (client is owner)\n"); - else - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " (client is leaf)\n"); GNUNET_break (0); + GNUNET_break (0); GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); return; } @@ -7212,10 +7209,6 @@ handle_local_ack (void *cls, struct GNUNET_SERVER_Client *client, GNUNET_break (0); // FIXME fc GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Tunnel %X unknown.\n", tid); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " for client %u.\n", c->id); - if (t->owner == c) - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " (client is owner)\n"); - else - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, " (client is leaf)\n"); GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); return; }