aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/transport/gnunet-service-transport.c
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index d6b5ac23f..67dc4e962 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -439,7 +439,7 @@ struct ReadyList
439 439
440 440
441/** 441/**
442 * Entry in neighbours. 442 * Entry in neighbours.
443 */ 443 */
444struct NeighbourMapEntry 444struct NeighbourMapEntry
445{ 445{
@@ -2270,12 +2270,12 @@ try_fast_reconnect (struct TransportPlugin *p, struct NeighbourMapEntry *nl)
2270 * quickly (much faster than timeout) `if a connection was lost and 2270 * quickly (much faster than timeout) `if a connection was lost and
2271 * could not be re-established (i.e. other peer went down or is 2271 * could not be re-established (i.e. other peer went down or is
2272 * unable / refuses to communicate); 2272 * unable / refuses to communicate);
2273 * 2273 *
2274 * So we should consider: 2274 * So we should consider:
2275 * 1) ideally: our own willingness / need to connect 2275 * 1) ideally: our own willingness / need to connect
2276 * 2) prior failures to connect to this peer (by plugin) 2276 * 2) prior failures to connect to this peer (by plugin)
2277 * 3) ideally: reasons why other peer terminated (as far as knowable) 2277 * 3) ideally: reasons why other peer terminated (as far as knowable)
2278 * 2278 *
2279 * Most importantly, it must be POSSIBLE for another peer to terminate 2279 * Most importantly, it must be POSSIBLE for another peer to terminate
2280 * a connection for a while (without us instantly re-establishing it). 2280 * a connection for a while (without us instantly re-establishing it).
2281 * Similarly, if another peer is gone we should quickly notify CORE. 2281 * Similarly, if another peer is gone we should quickly notify CORE.
@@ -2284,7 +2284,7 @@ try_fast_reconnect (struct TransportPlugin *p, struct NeighbourMapEntry *nl)
2284 * services never even notice. 2284 * services never even notice.
2285 * Furthermore, the same mechanism (or small variation) could be used 2285 * Furthermore, the same mechanism (or small variation) could be used
2286 * to switch to a better-performing plugin (ATS). 2286 * to switch to a better-performing plugin (ATS).
2287 * 2287 *
2288 * Finally, this needs to be tested throughly... */ 2288 * Finally, this needs to be tested throughly... */
2289 2289
2290 /* 2290 /*
@@ -4002,7 +4002,7 @@ check_pending_validation (void *cls, const GNUNET_HashCode * key, void *value)
4002 GNUNET_i2s (&pong->pid), a2s (ve->transport_name, &addr[slen], 4002 GNUNET_i2s (&pong->pid), a2s (ve->transport_name, &addr[slen],
4003 alen)); 4003 alen));
4004 /* FIXME: since the sender of the PONG currently uses the 4004 /* FIXME: since the sender of the PONG currently uses the
4005 * wrong address (see FIMXE there!), we cannot run a 4005 * wrong address (see FIMXE there!), we cannot run a
4006 * proper check here... */ 4006 * proper check here... */
4007#if FIXME_URGENT 4007#if FIXME_URGENT
4008 return GNUNET_NO; 4008 return GNUNET_NO;