commit aa047cd6041fd5c9e965e8ac78298abfd0c9effa parent b1bdff775febc37640781880b122e9cd3d64f533 Author: Jacki <jacki@thejackimonster.de> Date: Sat, 23 Mar 2024 22:34:23 +0100 Fix compiler error caused by label Signed-off-by: Jacki <jacki@thejackimonster.de> Diffstat:
| M | src/gnunet_chat_handle_intern.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c @@ -839,6 +839,7 @@ on_handle_message_callback(void *cls) struct GNUNET_CHAT_Context *context = message->context; struct GNUNET_CHAT_Handle *handle = context->handle; + const struct GNUNET_MESSENGER_Contact *sender; if (GNUNET_MESSENGER_FLAG_DELETE & message->flags) goto skip_msg_handing; @@ -918,8 +919,7 @@ on_handle_message_callback(void *cls) } skip_msg_handing: - const struct GNUNET_MESSENGER_Contact *sender = GNUNET_MESSENGER_get_sender( - context->room, &(message->hash)); + sender = GNUNET_MESSENGER_get_sender(context->room, &(message->hash)); if (!sender) goto clear_dependencies;