From bbf551f88d3af99815b398b31294ee841aae1fb6 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 30 Jan 2014 02:11:28 +0000 Subject: [PATCH] - fix nbo --- src/mesh/gnunet-service-mesh_local.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index f5a3210af..7c614d261 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c @@ -602,10 +602,10 @@ get_all_peers_iterator (void *cls, msg.header.size = htons (sizeof (msg)); msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_PEERS); msg.destination = *peer; - msg.paths = GMP_count_paths (p); - msg.tunnel = NULL != GMP_get_tunnel (p); + msg.paths = htons (GMP_count_paths (p)); + msg.tunnel = htons (NULL != GMP_get_tunnel (p)); - LOG (GNUNET_ERROR_TYPE_DEBUG, "sending info about tunnel ->%s\n", + LOG (GNUNET_ERROR_TYPE_DEBUG, "sending info about peer %s\n", GNUNET_i2s (peer)); GNUNET_SERVER_notification_context_unicast (nc, client, -- 2.25.1