aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/topology
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 8f86619fd..4db7ce6d2 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -355,9 +355,8 @@ free_peer (void *cls, const GNUNET_HashCode * pid, void *value)
355 * @param cls 'struct Peer' to greylist 355 * @param cls 'struct Peer' to greylist
356 * @param tc scheduler context 356 * @param tc scheduler context
357 */ 357 */
358static void remove_from_greylist (void *cls, 358static void
359 const struct GNUNET_SCHEDULER_TaskContext 359remove_from_greylist (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
360 *tc);
361 360
362 361
363/** 362/**
@@ -503,7 +502,8 @@ setup_filter (struct Peer *peer)
503 * @param buf where the callee should write the message 502 * @param buf where the callee should write the message
504 * @return number of bytes written to buf 503 * @return number of bytes written to buf
505 */ 504 */
506static size_t hello_advertising_ready (void *cls, size_t size, void *buf); 505static size_t
506hello_advertising_ready (void *cls, size_t size, void *buf);
507 507
508 508
509/** 509/**
@@ -921,8 +921,8 @@ process_peer (void *cls, const struct GNUNET_PeerIdentity *peer,
921 } 921 }
922 if ((!pos->is_connected) && (!pos->is_friend) && 922 if ((!pos->is_connected) && (!pos->is_friend) &&
923 (0 == 923 (0 ==
924 GNUNET_TIME_absolute_get_remaining (pos->greylisted_until). 924 GNUNET_TIME_absolute_get_remaining (pos->
925 rel_value)) 925 greylisted_until).rel_value))
926 free_peer (NULL, &pos->pid.hashPubKey, pos); 926 free_peer (NULL, &pos->pid.hashPubKey, pos);
927 } 927 }
928 return; 928 return;
@@ -1056,8 +1056,8 @@ read_friends_file (const struct GNUNET_CONFIGURATION_Handle *cfg)
1056 { 1056 {
1057 memcpy (&enc, &data[pos], sizeof (struct GNUNET_CRYPTO_HashAsciiEncoded)); 1057 memcpy (&enc, &data[pos], sizeof (struct GNUNET_CRYPTO_HashAsciiEncoded));
1058 if (!isspace 1058 if (!isspace
1059 ((unsigned char) enc. 1059 ((unsigned char)
1060 encoding[sizeof (struct GNUNET_CRYPTO_HashAsciiEncoded) - 1])) 1060 enc.encoding[sizeof (struct GNUNET_CRYPTO_HashAsciiEncoded) - 1]))
1061 { 1061 {
1062 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1062 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1063 _ 1063 _