Recommitting fix for non-init
author <brian@gir.tangent.org> <>
Tue, 14 Apr 2009 14:10:40 +0000 (07:10 -0700)
committer <brian@gir.tangent.org> <>
Tue, 14 Apr 2009 14:10:40 +0000 (07:10 -0700)
libmemcached/memcached_connect.c

index aca8ffd0a00088964d6110fa2d55663441b451e1..8e0e4208e864f11556ed8aaa9927aa8b15400c11 100644 (file)
@@ -194,7 +194,7 @@ static memcached_return network_connect(memcached_server_st *ptr)
       }
     }
 
-    if (ptr->sockaddr_inited || 
+    if (!ptr->sockaddr_inited ||
         (!(ptr->root->flags & MEM_USE_CACHE_LOOKUPS)))
     {
       memcached_return rc;