fix log invocation
authorChristian Grothoff <christian@grothoff.org>
Mon, 23 Jan 2017 20:03:51 +0000 (21:03 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 23 Jan 2017 20:03:51 +0000 (21:03 +0100)
src/cadet/gnunet-service-cadet-new_tunnels.c

index b85f1b321113f8490f71a2ceefefe81d00cfd9a6..def919c8e09218f6d45f2dce3b1346d275e0e4a5 100644 (file)
@@ -2147,8 +2147,8 @@ handle_plaintext_channel_open_ack (void *cls,
     /* We don't know about such a channel, might have been destroyed on our
        end in the meantime, or never existed. Send back a DESTROY. */
     LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Received channel OPEN_ACK for unknown channel, sending DESTROY\n",
-         GCCH_2s (ch));
+         "Received channel OPEN_ACK for unknown channel %u, sending DESTROY\n",
+         ntohl (cm->ctn.cn));
     GCT_send_channel_destroy (t,
                               cm->ctn);
     return;