mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 06:55:00 +00:00
fix
This commit is contained in:
parent
759dba418c
commit
1024c54bfa
|
@ -176,7 +176,7 @@ public class Worker {
|
|||
JSONObject data = new JSONObject();
|
||||
data.put("success", true);
|
||||
data.put("connection_speed", connectionSpeed);
|
||||
String jsonData = jsonrpc2Encode("relay_accept", data, id);
|
||||
String jsonData = JsonPpc2.Call("relay_accept", data, id).toString();
|
||||
|
||||
DataOutputStream outToClient = new DataOutputStream(conn.getOutputStream());
|
||||
outToClient.writeBytes(jsonData + "\r\n\r\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user