mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-02-15 20:14:29 +01:00
Fix the infinite recursion on network traffic handling.
This commit is contained in:
parent
2090432a6a
commit
bb102fb082
|
|
@ -970,7 +970,7 @@ void CM17Control::writeJSON(const char* action, RPT_NET_STATE state, const std::
|
|||
|
||||
nlohmann::json json;
|
||||
|
||||
writeJSON(action, state, source, dest);
|
||||
writeJSON(json, action, state, source, dest);
|
||||
|
||||
WriteJSON("M17", json);
|
||||
}
|
||||
|
|
@ -981,7 +981,7 @@ void CM17Control::writeJSON(const char* action, RPT_NET_STATE state, const std::
|
|||
|
||||
nlohmann::json json;
|
||||
|
||||
writeJSON(action, state, source, dest);
|
||||
writeJSON(json, action, state, source, dest);
|
||||
|
||||
json["duration"] = duration;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue