From 71ea5bd2d05058008e604ffd42993be9c7250e04 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Nov 2011 20:47:18 +0000 Subject: -fixing indentation --- src/dv/plugin_transport_dv.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/dv/plugin_transport_dv.c') diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index 569213f72..78200e634 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c @@ -160,10 +160,17 @@ handle_dv_message_received (void *cls, struct GNUNET_PeerIdentity *sender, my_id, GNUNET_i2s (sender), ntohs (((struct GNUNET_MessageHeader *) msg)->type), distance); - if (sender_address_len == (2 * sizeof(struct GNUNET_PeerIdentity))) - { - GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "plugin_transport_dv", "Parsed sender address: %s:%s\n", GNUNET_i2s((struct GNUNET_PeerIdentity *)sender_address), GNUNET_h2s(&((struct GNUNET_PeerIdentity *)&sender_address[sizeof(struct GNUNET_PeerIdentity)])->hashPubKey)); - } + if (sender_address_len == (2 * sizeof (struct GNUNET_PeerIdentity))) + { + GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "plugin_transport_dv", + "Parsed sender address: %s:%s\n", + GNUNET_i2s ((struct GNUNET_PeerIdentity *) sender_address), + GNUNET_h2s (& + ((struct GNUNET_PeerIdentity *) + &sender_address[sizeof + (struct + GNUNET_PeerIdentity)])->hashPubKey)); + } GNUNET_free_non_null (my_id); #endif -- cgit v1.2.3