Fix for minor rewrite in clone method of number of hosts.
author <brian@gir.local> <>
Sun, 2 Dec 2007 01:00:48 +0000 (17:00 -0800)
committer <brian@gir.local> <>
Sun, 2 Dec 2007 01:00:48 +0000 (17:00 -0800)
lib/memcached.c
lib/memcached_fetch.c

index a5be8e255fab93eba37af6c3de2a7b71930b27f1..b474ca5d1ab0cd2253317ded470c096cc878c596 100644 (file)
@@ -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;
index d96d33fb2e92329fbf44fbab07f8a9b836b6bfa9..ac4f49112c51e7c88e1a348b1bedf49b78511452 100644 (file)
@@ -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