From: Christian Grothoff Date: Fri, 2 Sep 2011 13:10:08 +0000 (+0000) Subject: making mwachs happier X-Git-Tag: initial-import-from-subversion-38251~17233 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fe8e2a61d233d3a30ddc4e0a568ab91ce24c7f9;p=oweals%2Fgnunet.git making mwachs happier --- diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 070690ae9..caed3e4d4 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -542,7 +542,7 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer, GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT, &neighbour_timeout_task, n); connect_msg.size = htons (sizeof (struct GNUNET_MessageHeader)); - connect_msg.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); + connect_msg.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_CONNECT); GST_neighbours_send (peer, &connect_msg, sizeof (connect_msg), GNUNET_TIME_UNIT_FOREVER_REL, NULL, NULL); }