From fdd0e00773ce7928205f725ba5319c94744471a0 Mon Sep 17 00:00:00 2001 From: Date: Sat, 1 Dec 2007 17:00:48 -0800 Subject: [PATCH] Fix for minor rewrite in clone method of number of hosts. --- lib/memcached.c | 1 - lib/memcached_fetch.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/memcached.c b/lib/memcached.c index a5be8e25..b474ca5d 100644 --- a/lib/memcached.c +++ b/lib/memcached.c @@ -77,7 +77,6 @@ memcached_st *memcached_clone(memcached_st *clone, memcached_st *ptr) new_clone->flags= ptr->flags; - new_clone->number_of_hosts= ptr->number_of_hosts; new_clone->send_size= ptr->send_size; new_clone->recv_size= ptr->recv_size; new_clone->poll_timeout= ptr->poll_timeout; diff --git a/lib/memcached_fetch.c b/lib/memcached_fetch.c index d96d33fb..ac4f4911 100644 --- a/lib/memcached_fetch.c +++ b/lib/memcached_fetch.c @@ -212,7 +212,7 @@ memcached_result_st *memcached_fetch_result(memcached_st *ptr, return NULL; } - /* An error has occurred */ + /* We have completed reading data */ if (result->is_allocated == MEMCACHED_ALLOCATED) memcached_result_free(result); else -- 2.30.2