From: Brian Aker Date: Sat, 29 Dec 2012 12:17:37 +0000 (-0500) Subject: Break up command from key. X-Git-Tag: 1.0.16~21^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=0ef2c380104838a111dbc53117501d906f55c773;p=awesomized%2Flibmemcached Break up command from key. --- 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) {