diff options
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 10 |
1 files changed, 5 insertions, 5 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 | ||