projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
098b147
)
On success, we should exit the loop.
author
Brian Aker
<brian@tangent.org>
Mon, 3 Oct 2011 19:01:10 +0000
(12:01 -0700)
committer
Brian Aker
<brian@tangent.org>
Mon, 3 Oct 2011 19:01:10 +0000
(12:01 -0700)
tests/mem_functions.cc
patch
|
blob
|
history
diff --git
a/tests/mem_functions.cc
b/tests/mem_functions.cc
index d0a59fdc790d352efe3c2ca1a8ef768c9f7f2d21..18e092e42c3f396dd8dc3efd4487c8d9ac611505 100644
(file)
--- a/
tests/mem_functions.cc
+++ b/
tests/mem_functions.cc
@@
-4374,6
+4374,11
@@
static test_return_t connection_pool3_test(memcached_st *memc)
struct timespec relative_time= { 0, 0 };
pop_memc= memcached_pool_fetch(pool, &relative_time, &rc);
+ if (memcached_success(rc))
+ {
+ break;
+ }
+
if (memcached_failed(rc))
{
test_null(pop_memc);