diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/topology | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/topology')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 10 | ||||
-rw-r--r-- | src/topology/test_gnunet_daemon_topology.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 5b59995a9..761986d68 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c | |||
@@ -61,7 +61,7 @@ | |||
61 | 61 | ||
62 | /** | 62 | /** |
63 | * For how long do we blacklist anyone under any cirumstances at most after a failed connection | 63 | * For how long do we blacklist anyone under any cirumstances at most after a failed connection |
64 | * attempt? This is the absolute maximum, regardless of what the calculation based on | 64 | * attempt? This is the absolute maximum, regardless of what the calculation based on |
65 | * exponential back-off returns. | 65 | * exponential back-off returns. |
66 | */ | 66 | */ |
67 | #define GREYLIST_AFTER_ATTEMPT_MAX GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1) | 67 | #define GREYLIST_AFTER_ATTEMPT_MAX GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1) |
@@ -981,7 +981,7 @@ process_peer (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
981 | * @param my_id ID of this peer, NULL if we failed | 981 | * @param my_id ID of this peer, NULL if we failed |
982 | */ | 982 | */ |
983 | static void | 983 | static void |
984 | core_init (void *cls, | 984 | core_init (void *cls, |
985 | const struct GNUNET_PeerIdentity *my_id) | 985 | const struct GNUNET_PeerIdentity *my_id) |
986 | { | 986 | { |
987 | if (NULL == my_id) | 987 | if (NULL == my_id) |
@@ -993,10 +993,10 @@ core_init (void *cls, | |||
993 | return; | 993 | return; |
994 | } | 994 | } |
995 | my_identity = *my_id; | 995 | my_identity = *my_id; |
996 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 996 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
997 | "I am peer `%s'\n", | 997 | "I am peer `%s'\n", |
998 | GNUNET_i2s (my_id)); | 998 | GNUNET_i2s (my_id)); |
999 | peerinfo_notify = GNUNET_PEERINFO_notify (cfg, GNUNET_NO, | 999 | peerinfo_notify = GNUNET_PEERINFO_notify (cfg, GNUNET_NO, |
1000 | &process_peer, NULL); | 1000 | &process_peer, NULL); |
1001 | } | 1001 | } |
1002 | 1002 | ||
diff --git a/src/topology/test_gnunet_daemon_topology.c b/src/topology/test_gnunet_daemon_topology.c index f78fa5bf0..c880dad9e 100644 --- a/src/topology/test_gnunet_daemon_topology.c +++ b/src/topology/test_gnunet_daemon_topology.c | |||
@@ -39,7 +39,7 @@ static unsigned int connect_left; | |||
39 | 39 | ||
40 | 40 | ||
41 | static void | 41 | static void |
42 | notify_connect_complete (void *cls, | 42 | notify_connect_complete (void *cls, |
43 | struct GNUNET_TESTBED_Operation *op, | 43 | struct GNUNET_TESTBED_Operation *op, |
44 | const char *emsg) | 44 | const char *emsg) |
45 | { | 45 | { |
@@ -63,7 +63,7 @@ notify_connect_complete (void *cls, | |||
63 | 63 | ||
64 | static void | 64 | static void |
65 | do_connect (void *cls, | 65 | do_connect (void *cls, |
66 | struct GNUNET_TESTBED_RunHandle *h, | 66 | struct GNUNET_TESTBED_RunHandle *h, |
67 | unsigned int num_peers, | 67 | unsigned int num_peers, |
68 | struct GNUNET_TESTBED_Peer **peers, | 68 | struct GNUNET_TESTBED_Peer **peers, |
69 | unsigned int links_succeeded, | 69 | unsigned int links_succeeded, |