projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Simplify the calling structure for creating a memcached_st.
[awesomized/libmemcached]
/
libmemcached
/
util
/
pool.c
diff --git
a/libmemcached/util/pool.c
b/libmemcached/util/pool.c
index fd3f6ffea2c64f76c7db46c8efe9ea26703227d0..948f765befc5cdda490f1ede4d548f7eb7bd1ca8 100644
(file)
--- a/
libmemcached/util/pool.c
+++ b/
libmemcached/util/pool.c
@@
-125,7
+125,7
@@
memcached_pool_st *memcached_pool_create(memcached_st* mmc, uint32_t initial, ui
memcached_pool_st * memcached_pool(const char *option_string, size_t option_string_length)
{
memcached_pool_st *self;
memcached_pool_st * memcached_pool(const char *option_string, size_t option_string_length)
{
memcached_pool_st *self;
- memcached_st *memc= memcached
_create_with_options
(option_string, option_string_length);
+ memcached_st *memc= memcached(option_string, option_string_length);
if (! memc)
return NULL;
if (! memc)
return NULL;