fix log
This commit is contained in:
@@ -319,11 +319,11 @@ extern bool normalOutputEnabled;
|
||||
showinshellflag = true;
|
||||
handleViewLogCommand(cmd, clientFD);
|
||||
} else if (cmd.find("G_TEST_NUM=") == 0) {
|
||||
int num = std::atoi(cmd.substr(9).c_str());
|
||||
int num = std::atoi(cmd.substr(11).c_str());
|
||||
setTestNum(num);
|
||||
sendStr(clientFD, "\r\x1B[KTEST_NUM updated\r\n");
|
||||
} else if (cmd.find("G_TEST_TYPE=") == 0) {
|
||||
int type = std::atoi(cmd.substr(10).c_str());
|
||||
int type = std::atoi(cmd.substr(12).c_str());
|
||||
setTestType(type);
|
||||
sendStr(clientFD, "\r\x1B[KTEST_TYPE updated\r\n");
|
||||
} else if (cmd.find("LOG=") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user