diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-07-18 22:03:57 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-07-18 22:03:57 +0100 |
commit | 71550f87cece411a5a45a2984ebafcc1feae1d1b (patch) | |
tree | b2bcff5178f08ae86f80837ac68b43c1076e39ff /executor.cpp | |
parent | e3d4f1196326538c7901f8985e42cc7bdff2814b (diff) | |
download | xmr-stak-71550f87cece411a5a45a2984ebafcc1feae1d1b.zip xmr-stak-71550f87cece411a5a45a2984ebafcc1feae1d1b.tar.gz |
Bug causing an extra comma
Diffstat (limited to 'executor.cpp')
-rw-r--r-- | executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor.cpp b/executor.cpp index 4e5917d..948b156 100644 --- a/executor.cpp +++ b/executor.cpp @@ -899,7 +899,7 @@ void executor::http_json_report(std::string& out) for(size_t i=1; i < vMineResults.size(); i++) { using namespace std::chrono; - if(i != 0) res_error.append(1, ','); + if(i != 1) res_error.append(1, ','); snprintf(buffer, sizeof(buffer), sJsonApiResultError, int_port(vMineResults[i].count), int_port(duration_cast<seconds>(vMineResults[i].time.time_since_epoch()).count()), |