Skip to content

Commit

Permalink
make friendcon_id const
Browse files Browse the repository at this point in the history
  • Loading branch information
zugz committed Aug 19, 2018
1 parent dca5b7c commit 56e617d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxcore/group.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ static int try_send_rejoin(Group_Chats *g_c, uint32_t groupnumber, const uint8_t
return -1;
}

int friendcon_id = getfriend_conn_id_pk(g_c->fr_c, real_pk);
const int friendcon_id = getfriend_conn_id_pk(g_c->fr_c, real_pk);

if (friendcon_id == -1) {
return -1;
Expand Down

0 comments on commit 56e617d

Please sign in to comment.