- fix crash
authorBart Polot <bart@net.in.tum.de>
Thu, 5 Sep 2013 04:29:41 +0000 (04:29 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 5 Sep 2013 04:29:41 +0000 (04:29 +0000)
src/mesh/gnunet-service-mesh-enc.c

index 78a33950dda7c4b0354a4a97bb66f165f55d35db..28a45ea7a0716a6012d02553d6e095a2a7bd5a1f 100644 (file)
@@ -2810,8 +2810,8 @@ connection_poll (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   c = fc->c;
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " *** Polling!\n");
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " *** connection %s[%X]\n", 
-              peer2s (c->t->peer), c->id);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " *** connection [%X]\n",
+              GNUNET_h2s (&c->id));
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " ***   %s\n", 
               fc == &c->fwd_fc ? "FWD" : "BCK");