projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update libtest/fedora/lion fixes
[awesomized/libmemcached]
/
libmemcached
/
server.cc
diff --git
a/libmemcached/server.cc
b/libmemcached/server.cc
index 98b16eef7f88e1839e2d0abc0674f5cd3b36060d..bde53c7e4c68954f3bd6081d81a8ebdeb1ece3f9 100644
(file)
--- a/
libmemcached/server.cc
+++ b/
libmemcached/server.cc
@@
-119,7
+119,9
@@
memcached_server_st *__server_create_with(const memcached_st *memc,
self= _server_create(self, memc);
if (not self)
self= _server_create(self, memc);
if (not self)
+ {
return NULL;
return NULL;
+ }
_server_init(self, const_cast<memcached_st *>(memc), hostname, port, weight, type);
_server_init(self, const_cast<memcached_st *>(memc), hostname, port, weight, type);
@@
-237,7
+239,9
@@
memcached_return_t memcached_server_execute(memcached_st *ptr,
unsigned int iferror= (*callback)(ptr, instance, context);
if (iferror)
unsigned int iferror= (*callback)(ptr, instance, context);
if (iferror)
+ {
continue;
continue;
+ }
}
return MEMCACHED_SUCCESS;
}
return MEMCACHED_SUCCESS;