Browse Source

Disable debug code.

Adam Ierymenko 9 years ago
parent
commit
0bcc7d46a3
1 changed files with 2 additions and 7 deletions
  1. 2 7
      node/NetworkConfig.hpp

+ 2 - 7
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