From 0ef2c380104838a111dbc53117501d906f55c773 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 29 Dec 2012 07:17:37 -0500 Subject: [PATCH] Break up command from key. --- libmemcached/get.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmemcached/get.cc b/libmemcached/get.cc index 88f8b56a..7d273176 100644 --- a/libmemcached/get.cc +++ b/libmemcached/get.cc @@ -315,7 +315,7 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, } hosts_connected++; - if ((memcached_io_writev(instance, vector, 4, false)) == false) + if ((memcached_io_writev(instance, vector, 1, false)) == false) { failures_occured_in_sending= true; continue; @@ -324,7 +324,7 @@ static memcached_return_t memcached_mget_by_key_real(memcached_st *ptr, memcached_instance_response_increment(instance); WATCHPOINT_ASSERT(instance->cursor_active_ == 1); } - else + { if ((memcached_io_writev(instance, (vector + 1), 3, false)) == false) { -- 2.30.2