Added more return statements to commented out code.
This commit is contained in:
		@@ -103,6 +103,7 @@ int NeoComm_connect(const char *address, const unsigned short port) {
 | 
			
		||||
	if(not node.isRunning())
 | 
			
		||||
	{
 | 
			
		||||
		add_error("NeoComm must be initialized.");
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
	std::ofstream export_file(node_file, std::ios::binary);
 | 
			
		||||
	if(not export_file.is_open())
 | 
			
		||||
@@ -111,4 +112,5 @@ int NeoComm_connect(const char *address, const unsigned short port) {
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
	msgpack::pack(export_file, node.exportNodes());
 | 
			
		||||
	return 1;
 | 
			
		||||
}*/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user