More dont-access-t-when-it-is-NULL fixes
authorLRN <lrn1986@gmail.com>
Fri, 24 Aug 2012 12:20:58 +0000 (12:20 +0000)
committerLRN <lrn1986@gmail.com>
Fri, 24 Aug 2012 12:20:58 +0000 (12:20 +0000)
src/mesh/gnunet-service-mesh.c

index d7b6c8d32129b38a37a3d37e1f60f4985c25c96f..7cc84fa36ad83664107b91b25afcb528fa9ef20b 100644 (file)
@@ -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;
   }