Catch up with Gearman's libtest
[m6w6/libmemcached] / tests / mem_udp.cc
index 4a567962ff3399da7616aacce2bb1fe9d58905ef..1bc4096aafca0f32bd95cbe8a6c122c653da5f76 100644 (file)
@@ -566,10 +566,10 @@ collection_st collection[] ={
 
 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);
 }