projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Fixed up a few more places where we set the error in the memcached root.
[m6w6/libmemcached]
/
libmemcached
/
hosts.cc
diff --git
a/libmemcached/hosts.cc
b/libmemcached/hosts.cc
index 7527cfbd0cfef688b82533ba64015a215f9ce752..885a79b7e8c5ffd84f8e3567d1d5387d2d81821c 100644
(file)
--- a/
libmemcached/hosts.cc
+++ b/
libmemcached/hosts.cc
@@
-345,7
+345,7
@@
memcached_return_t memcached_server_push(memcached_st *ptr, const memcached_serv
list[x].port, list[x].weight, list[x].type);
if (! instance)
{
- return memcached_set_error(ptr, MEMCACHED_MEMORY_ALLOCATION_FAILURE
, NULL
);
+ return memcached_set_error(ptr, MEMCACHED_MEMORY_ALLOCATION_FAILURE);
}
ptr->number_of_hosts++;
}