Revert "Amalgamate the two Trellis implementations and small cleanups."

This reverts commit ec9f7d7496.
This commit is contained in:
Jonathan Naylor
2024-10-04 17:14:36 +01:00
parent ec9f7d7496
commit ebea3eddb2
20 changed files with 538 additions and 134 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(), (unsigned int)command.length(), addr, addrLen);
ret = socket.write((unsigned char*)command.c_str(), command.length(), addr, addrLen);
if (!ret) {
socket.close();
return 1;