Skip to content

Commit b2c49ab

Browse files
committed
fix
1 parent 1fc9234 commit b2c49ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cppredis/cpp_redis_request.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ namespace cpp_redis {
327327
std::string build_respone(std::string&& command, std::vector<std::string>&& cmds)
328328
{
329329
std::vector<std::string> key_cmds = std::move(cmds);
330-
size_t cmd_size = cmds.size();
330+
size_t cmd_size = key_cmds.size();
331331

332332
std::string v;
333333
add_number(cmd_size+1, v, '*');

0 commit comments

Comments
 (0)