aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-dht-get.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/dht/gnunet-dht-get.c
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz
gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip
curly wars / auto-indentation
Diffstat (limited to 'src/dht/gnunet-dht-get.c')
-rw-r--r--src/dht/gnunet-dht-get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dht/gnunet-dht-get.c b/src/dht/gnunet-dht-get.c
index 8720e76aa..763ff8e6f 100644
--- a/src/dht/gnunet-dht-get.c
+++ b/src/dht/gnunet-dht-get.c
@@ -124,10 +124,10 @@ static void
124get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp, 124get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
125 const GNUNET_HashCode * key, 125 const GNUNET_HashCode * key,
126 const struct GNUNET_PeerIdentity *get_path, 126 const struct GNUNET_PeerIdentity *get_path,
127 unsigned int get_path_length, 127 unsigned int get_path_length,
128 const struct GNUNET_PeerIdentity *put_path, 128 const struct GNUNET_PeerIdentity *put_path,
129 unsigned int put_path_length, 129 unsigned int put_path_length, enum GNUNET_BLOCK_Type type,
130 enum GNUNET_BLOCK_Type type, size_t size, const void *data) 130 size_t size, const void *data)
131{ 131{
132 fprintf (stdout, "Result %d, type %d:\n%.*s\n", result_count, type, 132 fprintf (stdout, "Result %d, type %d:\n%.*s\n", result_count, type,
133 (unsigned int) size, (char *) data); 133 (unsigned int) size, (char *) data);
@@ -186,9 +186,9 @@ run (void *cls, char *const *args, const char *cfgfile,
186 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining 186 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining
187 (absolute_timeout), &cleanup_task, NULL); 187 (absolute_timeout), &cleanup_task, NULL);
188 get_handle = 188 get_handle =
189 GNUNET_DHT_get_start (dht_handle, timeout, query_type, &key, 189 GNUNET_DHT_get_start (dht_handle, timeout, query_type, &key, replication,
190 replication, GNUNET_DHT_RO_NONE, NULL, 190 GNUNET_DHT_RO_NONE, NULL, 0, &get_result_iterator,
191 0, &get_result_iterator, NULL); 191 NULL);
192 192
193} 193}
194 194