summaryrefslogtreecommitdiffstats
path: root/xmrstak/net
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-10 20:39:25 +0000
committerUnknown <fireice2@o2.pl>2017-11-10 20:39:25 +0000
commit8f52eb85b3c39601704560263722a86b2265da05 (patch)
tree86f20ed55c3c28c4ea41d3eb2830b745fee861b7 /xmrstak/net
parent0bae47a75488e2fd1bcab8b141976763e4d81e95 (diff)
downloadxmr-stak-8f52eb85b3c39601704560263722a86b2265da05.zip
xmr-stak-8f52eb85b3c39601704560263722a86b2265da05.tar.gz
Versioning final version
Diffstat (limited to 'xmrstak/net')
-rw-r--r--xmrstak/net/jpsock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/net/jpsock.cpp b/xmrstak/net/jpsock.cpp
index f6f5c1f..cb586d2 100644
--- a/xmrstak/net/jpsock.cpp
+++ b/xmrstak/net/jpsock.cpp
@@ -509,8 +509,8 @@ bool jpsock::cmd_login()
{
char cmd_buffer[1024];
- snprintf(cmd_buffer, sizeof(cmd_buffer), "{\"method\":\"login\",\"params\":{\"login\":\"%s\",\"pass\":\"%s\",\"agent\":\"" AGENTID_STR "\"},\"id\":1}\n",
- usr_login.c_str(), usr_pass.c_str());
+ snprintf(cmd_buffer, sizeof(cmd_buffer), "{\"method\":\"login\",\"params\":{\"login\":\"%s\",\"pass\":\"%s\",\"agent\":\"%s\"},\"id\":1}\n",
+ usr_login.c_str(), usr_pass.c_str(), get_version_str().c_str());
opq_json_val oResult(nullptr);
OpenPOWER on IntegriCloud