diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-06-07 22:09:43 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-06-07 22:09:43 +0200 |
commit | 79eff4349f89d13a8cc707550f6bb7d5fe8c99c3 (patch) | |
tree | e9f8aba91b4611187aaf67b5a16ff4d7548aaa18 /src/messenger/gnunet-service-messenger_list_handles.c | |
parent | 3f811502ea804c4c3e8031d50dc27db210152337 (diff) | |
download | gnunet-79eff4349f89d13a8cc707550f6bb7d5fe8c99c3.tar.gz gnunet-79eff4349f89d13a8cc707550f6bb7d5fe8c99c3.zip |
-fix duplicate naming of functions in messenger
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/gnunet-service-messenger_list_handles.c')
-rw-r--r-- | src/messenger/gnunet-service-messenger_list_handles.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messenger/gnunet-service-messenger_list_handles.c b/src/messenger/gnunet-service-messenger_list_handles.c index c0ae18716..f2daa2e70 100644 --- a/src/messenger/gnunet-service-messenger_list_handles.c +++ b/src/messenger/gnunet-service-messenger_list_handles.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--2022 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 |
@@ -46,7 +46,7 @@ clear_list_handles (struct GNUNET_MESSENGER_ListHandles *handles) | |||
46 | struct GNUNET_MESSENGER_ListHandle *element = handles->head; | 46 | struct GNUNET_MESSENGER_ListHandle *element = handles->head; |
47 | 47 | ||
48 | GNUNET_CONTAINER_DLL_remove(handles->head, handles->tail, element); | 48 | GNUNET_CONTAINER_DLL_remove(handles->head, handles->tail, element); |
49 | destroy_handle (element->handle); | 49 | destroy_srv_handle (element->handle); |
50 | GNUNET_free(element); | 50 | GNUNET_free(element); |
51 | } | 51 | } |
52 | 52 | ||
@@ -97,7 +97,7 @@ find_list_handle_by_member (const struct GNUNET_MESSENGER_ListHandles *handles, | |||
97 | struct GNUNET_MESSENGER_ListHandle *element; | 97 | struct GNUNET_MESSENGER_ListHandle *element; |
98 | 98 | ||
99 | for (element = handles->head; element; element = element->next) | 99 | for (element = handles->head; element; element = element->next) |
100 | if (get_handle_member_id ((struct GNUNET_MESSENGER_SrvHandle*) element->handle, key)) | 100 | if (get_srv_handle_member_id ((struct GNUNET_MESSENGER_SrvHandle*) element->handle, key)) |
101 | return element->handle; | 101 | return element->handle; |
102 | 102 | ||
103 | return NULL; | 103 | return NULL; |