Amalgamate the two Trellis implementations and small cleanups.

This commit is contained in:
Jonathan Naylor
2024-10-02 14:42:25 +01:00
parent bc43db1e02
commit ec9f7d7496
20 changed files with 134 additions and 538 deletions

View File

@@ -85,7 +85,7 @@ int CRemoteCommand::send(const std::string& command)
if (!ret)
return 1;
ret = socket.write((unsigned char*)command.c_str(), command.length(), addr, addrLen);
ret = socket.write((unsigned char*)command.c_str(), (unsigned int)command.length(), addr, addrLen);
if (!ret) {
socket.close();
return 1;