Make sure we use the correct strerror() in case someone is using threads.
[awesomized/libmemcached] / libmemcached / server.h
index aeb493fe9cdf0edf6461acc6f1c98f5e8642806c..d5b5684f5fb1b703aba0ca19e6a28a91b6e7f5dd 100644 (file)
@@ -39,8 +39,8 @@
 #pragma once
 
 enum memcached_server_state_t {
-  MEMCACHED_SERVER_STATE_NEW,
-  MEMCACHED_SERVER_STATE_ADDRINFO,
+  MEMCACHED_SERVER_STATE_NEW, // fd == -1, no address lookup has been done
+  MEMCACHED_SERVER_STATE_ADDRINFO, // ADDRRESS information has been gathered
   MEMCACHED_SERVER_STATE_IN_PROGRESS,
   MEMCACHED_SERVER_STATE_CONNECTED
 };