aboutsummaryrefslogtreecommitdiff
path: root/src/messenger
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-06-27 16:17:58 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-06-27 16:17:58 +0200
commitfa9e2e2b89313349d653cbf4ce1df8a49280a8c2 (patch)
tree2878b37864919ce8923a106cfb03c51576929fcf /src/messenger
parent2a1a812f3422192316b30236c2a4ab8c9f9b8389 (diff)
downloadgnunet-fa9e2e2b89313349d653cbf4ce1df8a49280a8c2.tar.gz
gnunet-fa9e2e2b89313349d653cbf4ce1df8a49280a8c2.zip
-updated get_sender() to return const contact
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger')
-rw-r--r--src/messenger/messenger_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messenger/messenger_api.c b/src/messenger/messenger_api.c
index 7d80439d2..1eedbd31b 100644
--- a/src/messenger/messenger_api.c
+++ b/src/messenger/messenger_api.c
@@ -618,7 +618,7 @@ GNUNET_MESSENGER_find_rooms (const struct GNUNET_MESSENGER_Handle *handle, const
618 return GNUNET_CONTAINER_multihashmap_iterate(handle->rooms, iterate_find_room, &find); 618 return GNUNET_CONTAINER_multihashmap_iterate(handle->rooms, iterate_find_room, &find);
619} 619}
620 620
621struct GNUNET_MESSENGER_Contact* 621const struct GNUNET_MESSENGER_Contact*
622GNUNET_MESSENGER_get_sender (const struct GNUNET_MESSENGER_Room *room, const struct GNUNET_HashCode *hash) 622GNUNET_MESSENGER_get_sender (const struct GNUNET_MESSENGER_Room *room, const struct GNUNET_HashCode *hash)
623{ 623{
624 if ((!room) || (!hash)) 624 if ((!room) || (!hash))