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:
b1f4764
)
Fixed compile failure due to wrong return value from function to detect if a testcase...
author
Trond Norbye
<trond.norbye@sun.com>
Mon, 12 Oct 2009 10:28:56 +0000
(12:28 +0200)
committer
Trond Norbye
<trond.norbye@sun.com>
Mon, 12 Oct 2009 10:28:56 +0000
(12:28 +0200)
tests/function.c
patch
|
blob
|
history
diff --git
a/tests/function.c
b/tests/function.c
index 914e17f2b6bb2da91544d99986703790e98528f9..aadd2dec68e0ba7b339af5742e9404d9ad8cdac4 100644
(file)
--- a/
tests/function.c
+++ b/
tests/function.c
@@
-3217,15
+3217,14
@@
static memcached_return pre_binary(memcached_st *memc)
static memcached_return pre_replication(memcached_st *memc)
{
static memcached_return pre_replication(memcached_st *memc)
{
- memcached_return rc= MEMCACHED_FAILURE;
-
if (pre_binary(memc) != MEMCACHED_SUCCESS)
if (pre_binary(memc) != MEMCACHED_SUCCESS)
- return
TEST_SKIPPED
;
+ return
MEMCACHED_FAILURE
;
/*
* Make sure that we store the item on all servers
* (master + replicas == number of servers)
/*
* Make sure that we store the item on all servers
* (master + replicas == number of servers)
- */
+ */
+ memcached_return rc;
rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS,
memc->number_of_hosts - 1);
assert(rc == MEMCACHED_SUCCESS);
rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS,
memc->number_of_hosts - 1);
assert(rc == MEMCACHED_SUCCESS);