Skip to content

Commit

Permalink
fix: cannot have const Net_Crypto in handle_packet_crypto_hs() here (…
Browse files Browse the repository at this point in the history
…was added in master).
  • Loading branch information
goldroom committed Jan 26, 2025
1 parent 25311c7 commit 3060956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxcore/net_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ non_null(1, 3) nullable(5)
* @return -1 in case of failure
* @return 0 if successful
*/
static int handle_packet_crypto_hs(const Net_Crypto *c, int crypt_connection_id, const uint8_t *packet, uint16_t length,
static int handle_packet_crypto_hs(Net_Crypto *c, int crypt_connection_id, const uint8_t *packet, uint16_t length,
void *userdata)
{
Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id);
Expand Down

0 comments on commit 3060956

Please sign in to comment.