diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:39:34 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:39:34 -0700 |
commit | 0bcc7d46a3355e05c3f79a0e1bc4f6a000395e9b (patch) | |
tree | 835e2ee34f46a46b13bf3d63d5af192595920d91 /node | |
parent | 93b673043c48ec65b8c2133cd1f0b0256719613b (diff) | |
download | infinitytier-0bcc7d46a3355e05c3f79a0e1bc4f6a000395e9b.tar.gz infinitytier-0bcc7d46a3355e05c3f79a0e1bc4f6a000395e9b.zip |
Disable debug code.
Diffstat (limited to 'node')
-rw-r--r-- | node/NetworkConfig.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 35382a3d..a7ed77b9 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -353,8 +353,6 @@ public: template<unsigned int C> inline void serialize(Buffer<C> &b) const { - printf("!!! sending\n"); - b.append((uint16_t)1); // version b.append((uint64_t)networkId); @@ -473,8 +471,6 @@ public: this->com.serialize(b); b.append((uint16_t)0); // extended bytes, currently 0 since unused - - dump(); } template<unsigned int C> @@ -482,8 +478,6 @@ public: { memset(this,0,sizeof(NetworkConfig)); - printf("!!! deserializing\n"); - unsigned int p = startAt; if (b.template at<uint16_t>(p) != 1) @@ -608,7 +602,6 @@ public: p += b.template at<uint16_t>(p) + 2; - dump(); return (p - startAt); } @@ -616,6 +609,7 @@ public: void fromDictionary(const char *ds,unsigned int dslen); #endif + /* inline void dump() const { printf("networkId==%.16llx\n",networkId); @@ -644,6 +638,7 @@ public: printf("name==%s\n",name); printf("com==%s\n",com.toString().c_str()); } + */ /** * Network ID that this configuration applies to |