Squashed 'external/toxcore/c-toxcore/' changes from 81b1e4f63..59d3f6674

59d3f6674 chore(deps): bump golang.org/x/net
9324a974d fix: forgot an enum in the nodes request rename see https://github.com/TokTok/c-toxcore/pull/2860

git-subtree-dir: external/toxcore/c-toxcore
git-subtree-split: 59d3f6674f39d3cda6ccc9d0223602d7df90d280
This commit is contained in:
Green Sky
2025-03-13 17:49:09 +01:00
parent 3105cc20ef
commit 72325822b8
6 changed files with 12 additions and 66 deletions

View File

@ -601,7 +601,7 @@ static void tox_dispatch_invoke_event(const Tox_Dispatch *dispatch, const Tox_Ev
break;
}
case TOX_EVENT_DHT_GET_NODES_RESPONSE: {
case TOX_EVENT_DHT_NODES_RESPONSE: {
if (dispatch->dht_nodes_response_callback != nullptr) {
dispatch->dht_nodes_response_callback(event->data.dht_nodes_response, user_data);
}