From de994b897a87ccc8493f31c6b105fc37cfdc90a9 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 12 Feb 2011 18:45:11 -0800 Subject: [PATCH] Remove special condition for block and version. --- libmemcached/version.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libmemcached/version.c b/libmemcached/version.c index 8fcc11a0..cb8fa0e0 100644 --- a/libmemcached/version.c +++ b/libmemcached/version.c @@ -13,18 +13,13 @@ memcached_return_t memcached_version(memcached_st *ptr) if (ptr->flags.use_udp) return MEMCACHED_NOT_SUPPORTED; - bool was_blocking= ptr->flags.no_block; memcached_return_t rc; - ptr->flags.no_block= false; - if (ptr->flags.binary_protocol) rc= memcached_version_binary(ptr); else rc= memcached_version_textual(ptr); - ptr->flags.no_block= was_blocking; - return rc; } -- 2.30.2