Browse Source

Don't memset EAP's Crazy Crap

Using memset there caused a crash. It works on all the other params, so I
assume that eap's ARRAY thing is incapable of handling a memset.
Adam Johnson 12 years ago
parent
commit
5a80de79fd
  1. 6
      Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

6
Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

@ -2155,6 +2155,10 @@ namespace _VaultFindNodesAndWait {
ARRAY(unsigned) nodeIds;
ENetError result;
bool complete;
_FindNodeParam()
: result(kNetPending), complete(false)
{ }
};
static void _FindNodeCallback (
ENetError result,
@ -2177,8 +2181,6 @@ void VaultFindNodesAndWait (
using namespace _VaultFindNodesAndWait;
_FindNodeParam param;
memset(&param, 0, sizeof(param));
NetCliAuthVaultNodeFind(
templateNode,
_FindNodeCallback,

Loading…
Cancel
Save