Set weight correctly.
[m6w6/libmemcached] / libmemcached / server.h
index aadd690fe0714e1b72e77b1081c4827ed074ca46..b08720148f79476f1447a20bc5ca37939b00b34e 100644 (file)
@@ -17,7 +17,6 @@ struct memcached_server_st {
   struct {
     bool is_allocated:1;
     bool is_initialized:1;
-    bool sockaddr_inited:1;
     bool is_shutting_down:1;
   } options;
   uint32_t number_of_hosts;
@@ -46,6 +45,7 @@ struct memcached_server_st {
   size_t read_data_length;
   size_t write_buffer_offset;
   struct addrinfo *address_info;
+  struct addrinfo *address_info_next;
   time_t next_retry;
   const memcached_st *root;
   uint64_t limit_maxbytes;