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]));
|
request_update_list(vec[2], std::stoi(vec[1]));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
logger_->error("input's invalid format.");
|
logger_->error("No matched cmd, May be param size incorrect.");
|
||||||
continue;
|
|
||||||
} else if (vec.size() == 2) {
|
} else if (vec.size() == 2) {
|
||||||
if (vec[0] == "Down") {
|
if (vec[0] == "Down") {
|
||||||
down_task(vec[1]);
|
down_task(vec[1]);
|
||||||
@ -89,8 +88,9 @@ void CClient::run(const std::string& ip, const std::string& port)
|
|||||||
up_task(cmd_input);
|
up_task(cmd_input);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
logger_->error("No matched cmd, May be param size incorrect.");
|
||||||
} else {
|
} else {
|
||||||
logger_->error("No matched cmd.");
|
logger_->error("No matched cmd, May be param size incorrect.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
client_->disconnect();
|
client_->disconnect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user