mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Merge pull request #283 from Hoikas/crash-fix
Fix Crash in VaultClientApi
This commit is contained in:
@ -2155,6 +2155,10 @@ namespace _VaultFindNodesAndWait {
|
|||||||
ARRAY(unsigned) nodeIds;
|
ARRAY(unsigned) nodeIds;
|
||||||
ENetError result;
|
ENetError result;
|
||||||
bool complete;
|
bool complete;
|
||||||
|
|
||||||
|
_FindNodeParam()
|
||||||
|
: result(kNetPending), complete(false)
|
||||||
|
{ }
|
||||||
};
|
};
|
||||||
static void _FindNodeCallback (
|
static void _FindNodeCallback (
|
||||||
ENetError result,
|
ENetError result,
|
||||||
@ -2177,8 +2181,6 @@ void VaultFindNodesAndWait (
|
|||||||
using namespace _VaultFindNodesAndWait;
|
using namespace _VaultFindNodesAndWait;
|
||||||
|
|
||||||
_FindNodeParam param;
|
_FindNodeParam param;
|
||||||
memset(¶m, 0, sizeof(param));
|
|
||||||
|
|
||||||
NetCliAuthVaultNodeFind(
|
NetCliAuthVaultNodeFind(
|
||||||
templateNode,
|
templateNode,
|
||||||
_FindNodeCallback,
|
_FindNodeCallback,
|
||||||
|
Reference in New Issue
Block a user