From 5d29861ee36bb30834aa9ce17dabfe205217f938 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Jul 2009 22:23:34 +0000 Subject: [PATCH] fixes --- src/transport/plugin_transport_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 0d08fec69..cde0e9f45 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -694,7 +694,7 @@ connect_and_create_validation_session (struct Plugin *plugin, "Creating new session %p with `%s' based on `%s' request.\n", session, GNUNET_a2s(addr, addrlen), - "send_to"); + "validate"); #endif return session; } @@ -1592,7 +1592,7 @@ handle_tcp_pong (void *cls, plugin->env->notify_validation (plugin->env->cls, "tcp", &peer, - ntohs(vcr->challenge), + ntohl(vcr->challenge), sender_addr); GNUNET_free (sender_addr); /* after a PONG, we always close the connection */ -- 2.25.1