From: Date: Sun, 2 Dec 2007 01:00:48 +0000 (-0800) Subject: Fix for minor rewrite in clone method of number of hosts. X-Git-Tag: 0.13~55 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=fdd0e00773ce7928205f725ba5319c94744471a0;p=awesomized%2Flibmemcached Fix for minor rewrite in clone method of number of hosts. --- 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