commit 1934a4ce81b8257f5feb3901f628952819be4f25
parent 9c7abb6a8287cf07f6ba3949061f89bca5a98255
Author: Jacki <jacki@thejackimonster.de>
Date: Tue, 4 Feb 2025 15:38:59 +0100
Fix verification of contact in tool
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gnunet_messenger_ping.c b/tools/gnunet_messenger_ping.c
@@ -404,7 +404,7 @@ message_callback (void *cls,
if (!sender)
continue;
- if (NULL != GNUNET_CONTAINER_multishortmap_get(ping->pong_map, hash_contact (sender)))
+ if (GNUNET_YES != GNUNET_CONTAINER_multishortmap_contains_value(ping->pong_map, hash_contact (sender), NULL))
continue;
if (!is_hash_following (tool, hash, &key))