mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Revert "Amalgamate the two Trellis implementations and small cleanups."
This reverts commit ec9f7d7496.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user