From d685060e289634955a81d80874a37d4cb0a58c24 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 16 Sep 2011 18:29:11 +0000 Subject: [PATCH] Trying to make gnu indent's braindead indentation of comments *somehow* readable --- src/mesh/gnunet-service-mesh.c | 21 ++++++++++++++------- src/mesh/test_mesh.conf | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index a01217b38..4e9b62615 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -2418,17 +2418,24 @@ dht_get_type_handler (void *cls, struct GNUNET_TIME_Absolute exp, NULL == peer_info->dhtget) { /* we don't have a route to the peer, let's try a direct lookup */ - peer_info->dhtget = GNUNET_DHT_get_start (dht_handle, /* handle */ - GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ - GNUNET_BLOCK_TYPE_TEST, /* block type */ - &pi->hashPubKey, /* key to look up */ - 10U, /* replication level */ - GNUNET_DHT_RO_RECORD_ROUTE, /* option to dht: record route */ + peer_info->dhtget = GNUNET_DHT_get_start (dht_handle, + /* handle */ + GNUNET_TIME_UNIT_FOREVER_REL, + /* timeout */ + GNUNET_BLOCK_TYPE_TEST, + /* block type */ + &pi->hashPubKey, + /* key to look up */ + 10U, + /* replication level */ + GNUNET_DHT_RO_RECORD_ROUTE, + /* option to dht: record route */ NULL, /* bloom filter */ 0, /* mutator */ NULL, /* xquery */ 0, /* xquery bits */ - dht_get_id_handler, /* callback */ + dht_get_id_handler, + /* callback */ peer_info); /* closure */ } diff --git a/src/mesh/test_mesh.conf b/src/mesh/test_mesh.conf index c6a6dff2e..a23b07b41 100644 --- a/src/mesh/test_mesh.conf +++ b/src/mesh/test_mesh.conf @@ -10,7 +10,7 @@ AUTOSTART = YES ACCEPT_FROM = 127.0.0.1; HOSTNAME = localhost PORT = 10511 -# PREFIX = valgrind --leak-check=full +PREFIX = valgrind --leak-check=full # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args [dht] -- 2.25.1