mirror of https://github.com/tp4a/teleport
fix json file format.
parent
e075dcc690
commit
70a5e7e452
|
@ -58,7 +58,7 @@
|
|||
"name": "crt",
|
||||
"display": "SecureCRT",
|
||||
"app": "",
|
||||
"cmdline": "/T /N \"TP#telnet://{real_ip}\" /ARG {user_name} /SCRIPT \"{assist_tools_path}\securecrt-telnet.vbs\" /TELNET {host_ip} {host_port}"
|
||||
"cmdline": "/T /N \"TP#telnet://{real_ip}\" /ARG {user_name} /SCRIPT \"{assist_tools_path}\\securecrt-telnet.vbs\" /TELNET {host_ip} {host_port}"
|
||||
},
|
||||
{
|
||||
"name": "other",
|
||||
|
@ -67,5 +67,5 @@
|
|||
"cmdline": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ bool TsCfg::_load(const ex_astr& str_json) {
|
|||
Json::Reader jreader;
|
||||
|
||||
if (!jreader.parse(str_json.c_str(), m_root)) {
|
||||
EXLOGE("can not parse new config data, not in json format?\n");
|
||||
EXLOGE("can not parse new config data, not in json format? %s\n", jreader.getFormattedErrorMessages().c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue