Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 14, 2024
1 parent 24514e6 commit b4110d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion toxcore/tox.c
Original file line number Diff line number Diff line change
Expand Up @@ -3102,7 +3102,7 @@ void tox_callback_group_join_fail(Tox *tox, tox_group_join_fail_cb *callback)
tox->group_join_fail_callback = callback;
}

void tox_group_get_connection_ip(const Tox *tox, uint32_t group_number, uint32_t peer_id, uint8_t *ip_str)
void tox_group_get_peer_connection_ip(const Tox *tox, uint32_t group_number, uint32_t peer_id, uint8_t *ip_str)
{
if (ip_str == nullptr) {
return;
Expand Down
2 changes: 1 addition & 1 deletion toxcore/tox.h
Original file line number Diff line number Diff line change
Expand Up @@ -3625,7 +3625,7 @@ typedef enum Tox_Group_Role {
******************************************************************************/


void tox_group_get_connection_ip(const Tox *tox, uint32_t group_number, uint32_t peer_id, uint8_t *ip_str);
void tox_group_get_peer_connection_ip(const Tox *tox, uint32_t group_number, uint32_t peer_id, uint8_t *ip_str);


typedef enum Tox_Err_Group_New {
Expand Down

0 comments on commit b4110d3

Please sign in to comment.