diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:37:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:37:37 -0700 |
| commit | 93b673043c48ec65b8c2133cd1f0b0256719613b (patch) | |
| tree | 8c54e640fc258f4905d7fad316437ff290a9fa8f /node/Network.cpp | |
| parent | de1b74598855e5251a2a236bb6b61825ecaf8a39 (diff) | |
| download | infinitytier-93b673043c48ec65b8c2133cd1f0b0256719613b.tar.gz infinitytier-93b673043c48ec65b8c2133cd1f0b0256719613b.zip | |
Fix new binary meta-data deserialization and add some debug code (will disable later).
Diffstat (limited to 'node/Network.cpp')
| -rw-r--r-- | node/Network.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp index 8e9aecbd..c1c3414d 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -207,6 +207,9 @@ int Network::setConfiguration(const void *confBytes,unsigned int confLen,bool sa #endif } + if (!newConfig) + return 0; + { Mutex::Lock _l(_lock); if (_config == newConfig) |
