sup:提示变更。
This commit is contained in:
parent
20580a4c91
commit
f5d65b5b6b
@ -78,8 +78,7 @@ void CClient::run(const std::string& ip, const std::string& port)
|
||||
request_update_list(vec[2], std::stoi(vec[1]));
|
||||
continue;
|
||||
}
|
||||
logger_->error("input's invalid format.");
|
||||
continue;
|
||||
logger_->error("No matched cmd, May be param size incorrect.");
|
||||
} else if (vec.size() == 2) {
|
||||
if (vec[0] == "Down") {
|
||||
down_task(vec[1]);
|
||||
@ -89,8 +88,9 @@ void CClient::run(const std::string& ip, const std::string& port)
|
||||
up_task(cmd_input);
|
||||
continue;
|
||||
}
|
||||
logger_->error("No matched cmd, May be param size incorrect.");
|
||||
} else {
|
||||
logger_->error("No matched cmd.");
|
||||
logger_->error("No matched cmd, May be param size incorrect.");
|
||||
}
|
||||
}
|
||||
client_->disconnect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user