local ledger funtion finish
This commit is contained in:
@@ -956,7 +956,7 @@ void parse_set(const std::string& json_str) {
|
||||
|
||||
std::string frontType = front->valuestring;
|
||||
|
||||
if (index_value != g_front_seg_index) {
|
||||
if (index_value != g_front_seg_index && g_front_seg_index != 0) {
|
||||
std::cout << "msg index:"<< index_value <<"doesnt match self index:" << g_front_seg_index << std::endl;
|
||||
cJSON_Delete(root);
|
||||
return;
|
||||
@@ -1012,7 +1012,7 @@ void parse_set(const std::string& json_str) {
|
||||
//上送日志
|
||||
|
||||
apr_sleep(apr_time_from_sec(10));
|
||||
exit(-1039);
|
||||
::_exit(-1039); //进程退出
|
||||
}
|
||||
else{
|
||||
std::cout << "param is not executable" <<std::endl;
|
||||
|
||||
Reference in New Issue
Block a user