X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftopology%2Fgnunet-daemon-topology.c;h=08b1ba1c3c0effb852fa29cbd34b8880afc645ca;hb=8ccc246e6c8c9ea8bc2fdd5bf50d027a13547e38;hp=880dff0624ff7fba1e49bb27ee2035a3f8530d84;hpb=1ac6849677af4f98a0811626d5b36a3d3a0cb3c0;p=oweals%2Fgnunet.git diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 880dff062..08b1ba1c3 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -59,7 +59,7 @@ * For how long do we blacklist anyone under any cirumstances after a failed connection * attempt? */ -#define GREYLIST_AFTER_ATTEMPT_MAX GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 18) +#define GREYLIST_AFTER_ATTEMPT_MAX GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1) /** * How often do we at most advertise any HELLO to a peer? @@ -271,11 +271,11 @@ whitelist_peers () * Function called by core when our attempt to connect succeeded. * * @param cls the 'struct Peer' for which we issued the connect request - * @param tc scheduler context + * @param success was the request transmitted */ static void connect_completed_callback (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) + int success) { struct Peer *pos = cls;