projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixes condition where we were not correctly setting weighted vs not.
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
atomsmasher.cc
diff --git
a/tests/libmemcached-1.0/atomsmasher.cc
b/tests/libmemcached-1.0/atomsmasher.cc
index 45171c8b12ec0a719a6966c0662fb18ef254455b..e5d53b60ea76079026aa300385d3ecac8471e658 100644
(file)
--- a/
tests/libmemcached-1.0/atomsmasher.cc
+++ b/
tests/libmemcached-1.0/atomsmasher.cc
@@
-275,10
+275,10
@@
collection_st collection[] ={
void get_world(Framework *world)
{
void get_world(Framework *world)
{
- world->collections
= collection
;
+ world->collections
(collection)
;
- world->
_create= (test_callback_create_fn*)world_create
;
- world->
_destroy= (test_callback_destroy_fn*)world_destroy
;
+ world->
create((test_callback_create_fn*)world_create)
;
+ world->
destroy((test_callback_destroy_fn*)world_destroy)
;
world->set_runner(new LibmemcachedRunner);
}
world->set_runner(new LibmemcachedRunner);
}