diff options
Diffstat (limited to 'src/messenger/gnunet-service-messenger_tunnel.c')
-rw-r--r-- | src/messenger/gnunet-service-messenger_tunnel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/messenger/gnunet-service-messenger_tunnel.c b/src/messenger/gnunet-service-messenger_tunnel.c index 8ad7fff1c..c82a42cd0 100644 --- a/src/messenger/gnunet-service-messenger_tunnel.c +++ b/src/messenger/gnunet-service-messenger_tunnel.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--2022 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 |
@@ -150,7 +150,6 @@ update_room_message (struct GNUNET_MESSENGER_SrvRoom *room, | |||
150 | 150 | ||
151 | extern void | 151 | extern void |
152 | callback_room_handle_message (struct GNUNET_MESSENGER_SrvRoom *room, | 152 | callback_room_handle_message (struct GNUNET_MESSENGER_SrvRoom *room, |
153 | struct GNUNET_MESSENGER_SrvHandle *handle, | ||
154 | const struct GNUNET_MESSENGER_Message *message, | 153 | const struct GNUNET_MESSENGER_Message *message, |
155 | const struct GNUNET_HashCode *hash); | 154 | const struct GNUNET_HashCode *hash); |
156 | 155 | ||
@@ -223,7 +222,7 @@ handle_tunnel_message (void *cls, const struct GNUNET_MessageHeader *header) | |||
223 | if (GNUNET_YES == forward_message) | 222 | if (GNUNET_YES == forward_message) |
224 | { | 223 | { |
225 | forward_srv_room_message (tunnel->room, tunnel, &message, &hash); | 224 | forward_srv_room_message (tunnel->room, tunnel, &message, &hash); |
226 | callback_room_handle_message (tunnel->room, NULL, &message, &hash); | 225 | callback_room_handle_message (tunnel->room, &message, &hash); |
227 | } | 226 | } |
228 | 227 | ||
229 | receive_done: | 228 | receive_done: |
@@ -349,7 +348,7 @@ forward_tunnel_message (struct GNUNET_MESSENGER_SrvTunnel *tunnel, | |||
349 | GNUNET_assert((tunnel) && (message) && (hash)); | 348 | GNUNET_assert((tunnel) && (message) && (hash)); |
350 | 349 | ||
351 | struct GNUNET_MESSENGER_Message *copy = copy_message(message); | 350 | struct GNUNET_MESSENGER_Message *copy = copy_message(message); |
352 | struct GNUNET_MQ_Envelope *env = pack_message (copy, NULL, NULL, GNUNET_MESSENGER_PACK_MODE_ENVELOPE); | 351 | struct GNUNET_MQ_Envelope *env = pack_message (copy, NULL, NULL, GNUNET_MESSENGER_PACK_MODE_ENVELOPE, NULL); |
353 | 352 | ||
354 | destroy_message(copy); | 353 | destroy_message(copy); |
355 | 354 | ||