Trying to make gnu indent's braindead indentation of comments *somehow* readable
authorBart Polot <bart@net.in.tum.de>
Fri, 16 Sep 2011 18:29:11 +0000 (18:29 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 16 Sep 2011 18:29:11 +0000 (18:29 +0000)
src/mesh/gnunet-service-mesh.c
src/mesh/test_mesh.conf

index a01217b38ce5455007e2ace8915796212409f6f9..4e9b626153503b3d004f6747861ad80ccf649375 100644 (file)
@@ -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 */
   }
 
index c6a6dff2e1df3e80dd384a6b4c29e2a275ef3993..a23b07b41d2941747618d28dcaacee7f7b49441c 100644 (file)
@@ -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]