From 81e8f0486563e3bcf9e5bdb634af45c6767009cc Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Thu, 28 Jun 2012 23:34:38 -0700 Subject: [PATCH] Remove extra white space in get command. --- libmemcached/get.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libmemcached/get.cc b/libmemcached/get.cc index 88220e6b..cc6af2d8 100644 --- a/libmemcached/get.cc +++ b/libmemcached/get.cc @@ -202,8 +202,8 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, bool mget_mode) { bool failures_occured_in_sending= false; - const char *get_command= "get "; - uint8_t get_command_length= 4; + const char *get_command= "get"; + uint8_t get_command_length= 3; unsigned int master_server_key= (unsigned int)-1; /* 0 is a valid server id! */ memcached_return_t rc; @@ -270,8 +270,8 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, if (ptr->flags.support_cas) { - get_command= "gets "; - get_command_length= 5; + get_command= "gets"; + get_command_length= 4; } /* @@ -299,9 +299,9 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, libmemcached_io_vector_st vector[]= { { get_command, get_command_length }, + { memcached_literal_param(" ") }, { memcached_array_string(ptr->_namespace), memcached_array_size(ptr->_namespace) }, - { keys[x], key_length[x] }, - { memcached_literal_param(" ") } + { keys[x], key_length[x] } }; -- 2.30.2