Skip to content

Commit

Permalink
Fix clients list parsing in Server Stats
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed May 26, 2021
1 parent ac0af73 commit 87aaea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/server-stats/serverstatsmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ServerStats::Model::Model(QSharedPointer<RedisClient::Connection> connection,
m_connection->cmd({"CLIENT", "LIST"}, this, 0,
[this](RedisClient::Response r) {
QVariant result = r.value();
QStringList lines = result.toString().split("\r\n");
QStringList lines = result.toString().split("\n");

QVariantList parsedClients;

Expand Down

0 comments on commit 87aaea7

Please sign in to comment.