More mem*() stuff...

This commit is contained in:
Adam Ierymenko 2019-03-25 12:41:59 -07:00
parent 678116b6d1
commit e1091611da
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ bool NetworkConfig::fromDictionary(const Dictionary<ZT_NETWORKCONFIG_DICT_CAPACI
Buffer<ZT_NETWORKCONFIG_DICT_CAPACITY> *tmp = new Buffer<ZT_NETWORKCONFIG_DICT_CAPACITY>();
try {
memset(this,0,sizeof(NetworkConfig));
*this = NetworkConfig();
// Fields that are always present, new or old
this->networkId = d.getUI(ZT_NETWORKCONFIG_DICT_KEY_NETWORK_ID,0);