Update cursor
[m6w6/libmemcached] / libmemcached / instance.cc
index e7bb37945dbeb667dbd19bf6ef4fdc6d559b38a1..01c514f1f3155cd4f777f87e3bf23e4d11d96a18 100644 (file)
@@ -45,7 +45,7 @@ static inline void _server_init(org::libmemcached::Instance* self, memcached_st
   self->options.is_shutting_down= false;
   self->options.is_dead= false;
   self->number_of_hosts= 0;
-  self->cursor_active= 0;
+  self->cursor_active_= 0;
   self->port_= port;
   self->fd= INVALID_SOCKET;
   self->io_bytes_sent= 0;
@@ -386,5 +386,5 @@ uint32_t memcached_instance_response_count(const org::libmemcached::Instance* se
     return 0;
   }
 
-  return self->cursor_active;
+  return self->cursor_active_;
 }