X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Futil%2Fpool.c;h=7879cc2312e6a4c8d321ca254998aa6e81fa9984;hb=f0d3a824ed9acb9f6e3080683abe2bcc8b0cd6bd;hp=012d550f245f67f69112d4b4d42a6afd27684940;hpb=ebe4a05e9b023d7ef5b26ee98318a11582264efd;p=awesomized%2Flibmemcached diff --git a/libmemcached/util/pool.c b/libmemcached/util/pool.c index 012d550f..7879cc23 100644 --- a/libmemcached/util/pool.c +++ b/libmemcached/util/pool.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2010 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: connects to a host, and makes sure it is alive. + * + */ + /* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ #include "libmemcached/common.h" #include "libmemcached/memcached_util.h" @@ -57,7 +68,7 @@ static int grow_pool(memcached_pool_st* pool) pool->mmc[++pool->firstfree] = obj; pool->current_size++; - return 0; + return EXIT_SUCCESS; } memcached_pool_st *memcached_pool_create(memcached_st* mmc,