Trying to fix the issue of scanner not compiling on all platforms.
[m6w6/libmemcached] / libmemcached / util / pool.c
index 012d550f245f67f69112d4b4d42a6afd27684940..7879cc2312e6a4c8d321ca254998aa6e81fa9984 100644 (file)
@@ -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,