Fixed bug, login request was contain malformed JSON if username or password has some special characters for example \.

This commit is contained in:
XMRig 2017-07-18 01:49:04 +03:00
parent 986aee4297
commit 9732636155
2 changed files with 23 additions and 8 deletions

View file

@ -56,7 +56,7 @@ public:
Client(int id, const char *agent, IClientListener *listener);
~Client();
int64_t send(char *data);
int64_t send(char *data, size_t size = 0);
int64_t submit(const JobResult &result);
void connect();
void connect(const Url *url);