From: Date: Tue, 14 Apr 2009 14:10:40 +0000 (-0700) Subject: Recommitting fix for non-init X-Git-Tag: 0.28~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ea717ffe5f03f7241038553e475addb9926d62fe;p=awesomized%2Flibmemcached Recommitting fix for non-init --- diff --git a/libmemcached/memcached_connect.c b/libmemcached/memcached_connect.c index aca8ffd0..8e0e4208 100644 --- a/libmemcached/memcached_connect.c +++ b/libmemcached/memcached_connect.c @@ -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;