X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FClientSocket.cpp;h=3bff83036963d8b4301e63f0023e312895bb5273;hp=b531581917d0a14458475d2465958765d0ee0f18;hb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4;hpb=e49a3f2df9bf6c8d7eb29a924ebbf31e7fba2b97 diff --git a/source/comm/ClientSocket.cpp b/source/comm/ClientSocket.cpp index b531581..3bff830 100644 --- a/source/comm/ClientSocket.cpp +++ b/source/comm/ClientSocket.cpp @@ -697,9 +697,6 @@ string comm::ClientSocket::asString() const throw() { string msg("comm::ClientSocket { "); - if (this == NULL) - return msg += " }"; - msg += Socket::asString(); msg += functions::asText(" | RcvBufferSize: ", a_rcvBufferSize); msg += " bytes | Status: "; @@ -719,11 +716,6 @@ xml::Node* comm::ClientSocket::asXML(xml::Node* parent) const throw(RuntimeException) { xml::Node* clientSocket = parent->createChild("comm.ClientSocket"); - if (this == NULL) { - clientSocket->createAttribute("Freed", "yes"); - return clientSocket; - } - Socket::asXML(clientSocket); clientSocket->createAttribute("Status", Status::asString(a_status)); clientSocket->createAttribute("RcvBufferSize", a_rcvBufferSize);