From 9e716945a6fd0946464ef61b159bb44ccdd9c403 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Mar 2010 08:21:07 +0000 Subject: [PATCH] dce --- src/transport/plugin_transport_tcp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 2ec80f9e9..80829c244 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -985,12 +985,9 @@ handle_tcp_data (void *cls, { struct Plugin *plugin = cls; struct Session *session; - uint16_t msize; struct GNUNET_TIME_Relative delay; - msize = ntohs (message->size); session = find_session_by_client (plugin, client); - if (GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME == ntohs(message->type)) { /* We don't want to propagate WELCOME messages up! */ @@ -1007,7 +1004,7 @@ handle_tcp_data (void *cls, GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", "Passing %u bytes of type %u from `%4s' to transport service.\n", - (unsigned int) msize, + (unsigned int) ntohs (message->size), (unsigned int) ntohs (message->type), GNUNET_i2s (&session->target)); #endif -- 2.25.1