Fix return type from test functions (should be TEST_SUCCESS and not 0)
[awesomized/libmemcached] / example / interface_v0.c
index 905b6ff53d55b68a9e2c211084bcbcc2b8971d8a..041fe31e9ec767a5332e6e5c757c9294e69c9afa 100644 (file)
@@ -519,7 +519,7 @@ static protocol_binary_response_status stat_command_handler(const void *cookie,
   return response_handler(cookie, header, (void*)&response);
 }
 
-struct memcached_binary_protocol_callback_st interface_v0_impl= {
+memcached_binary_protocol_callback_st interface_v0_impl= {
   .interface_version= 0,
   .interface.v0.comcode[PROTOCOL_BINARY_CMD_GET]= get_command_handler,
   .interface.v0.comcode[PROTOCOL_BINARY_CMD_SET]= set_command_handler,