diff options
Diffstat (limited to 'src/messenger/gnunet-service-messenger_basement.c')
-rw-r--r-- | src/messenger/gnunet-service-messenger_basement.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/messenger/gnunet-service-messenger_basement.c b/src/messenger/gnunet-service-messenger_basement.c index ae0dcaa62..d4de28c4c 100644 --- a/src/messenger/gnunet-service-messenger_basement.c +++ b/src/messenger/gnunet-service-messenger_basement.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2020--2021 GNUnet e.V. | 3 | Copyright (C) 2020--2023 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -29,7 +29,7 @@ | |||
29 | size_t | 29 | size_t |
30 | count_of_tunnels (const struct GNUNET_MESSENGER_ListTunnels *tunnels) | 30 | count_of_tunnels (const struct GNUNET_MESSENGER_ListTunnels *tunnels) |
31 | { | 31 | { |
32 | GNUNET_assert(tunnels); | 32 | GNUNET_assert (tunnels); |
33 | 33 | ||
34 | const struct GNUNET_MESSENGER_ListTunnel *element; | 34 | const struct GNUNET_MESSENGER_ListTunnel *element; |
35 | size_t count = 0; | 35 | size_t count = 0; |
@@ -40,6 +40,7 @@ count_of_tunnels (const struct GNUNET_MESSENGER_ListTunnels *tunnels) | |||
40 | return count; | 40 | return count; |
41 | } | 41 | } |
42 | 42 | ||
43 | |||
43 | int | 44 | int |
44 | should_connect_tunnel_to (size_t count, | 45 | should_connect_tunnel_to (size_t count, |
45 | size_t src, | 46 | size_t src, |
@@ -51,6 +52,7 @@ should_connect_tunnel_to (size_t count, | |||
51 | return GNUNET_NO; | 52 | return GNUNET_NO; |
52 | } | 53 | } |
53 | 54 | ||
55 | |||
54 | int | 56 | int |
55 | required_connection_between (size_t count, | 57 | required_connection_between (size_t count, |
56 | size_t src, | 58 | size_t src, |