| 70 | } |
| 71 | |
| 72 | std::string CMessageHeader::GetCommand() const |
| 73 | { |
| 74 | if (pchCommand[COMMAND_SIZE-1] == 0) |
| 75 | return std::string(pchCommand, pchCommand + strlen(pchCommand)); |
| 76 | else |
| 77 | return std::string(pchCommand, pchCommand + COMMAND_SIZE); |
| 78 | } |
| 79 | |
| 80 | bool CMessageHeader::IsValid() const |
| 81 | { |
no outgoing calls
no test coverage detected