From a01c008bc1adfb6dea76b9a7448710ec026461db Mon Sep 17 00:00:00 2001 From: zhy <1774657235@qq.com> Date: Wed, 10 Jul 2024 23:24:05 +0800 Subject: [PATCH] make format --- src/cmd_admin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd_admin.cc b/src/cmd_admin.cc index 9b366ead8..41604d3d5 100644 --- a/src/cmd_admin.cc +++ b/src/cmd_admin.cc @@ -280,7 +280,8 @@ bool SortCmd::DoInitial(PClient* client) { } else if (strcasecmp(client->argv_[i].data(), "alpha") == 0) { alpha_ = 1; } else if (strcasecmp(client->argv_[i].data(), "limit") == 0 && leftargs >= 2) { - if (pstd::String2int(client->argv_[i + 1], &offset_) == 0 || pstd::String2int(client->argv_[i + 2], &count_) == 0) { + if (pstd::String2int(client->argv_[i + 1], &offset_) == 0 || + pstd::String2int(client->argv_[i + 2], &count_) == 0) { client->SetRes(CmdRes::kSyntaxErr); return false; }