From dcbc9c8ddd7cdb543e213e3402050724174df03a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 7 Oct 2013 15:21:40 -0400 Subject: Rename error code for no membership certificate. --- node/Network.hpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'node/Network.hpp') diff --git a/node/Network.hpp b/node/Network.hpp index 70be56fc..81af694b 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -135,11 +135,7 @@ public: COM_RESERVED_ID_NETWORK_ID = 1 // network ID, max delta always 0 }; - CertificateOfMembership() - { - memset(_signature.data,0,_signature.size()); - } - + CertificateOfMembership() { memset(_signature.data,0,_signature.size()); } CertificateOfMembership(const char *s) { fromString(s); } CertificateOfMembership(const std::string &s) { fromString(s.c_str()); } @@ -205,20 +201,12 @@ public: /** * @return True if signed */ - inline bool isSigned() const - throw() - { - return (_signedBy); - } + inline bool isSigned() const throw() { return (_signedBy); } /** * @return Address that signed this certificate or null address if none */ - inline const Address &signedBy() const - throw() - { - return _signedBy; - } + inline const Address &signedBy() const throw() { return _signedBy; } private: struct _Qualifier -- cgit v1.2.3