-check return value
[oweals/gnunet.git] / src / block / plugin_block_test.c
index 130c2ac3c84968e8e33946081f887205b63ab11c..01ed14fc2cb9085250d9eb7b2223b97d4e18b54b 100644 (file)
@@ -116,7 +116,7 @@ block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type,
  * Entry point for the plugin.
  *
  * @param cls NULL
- * @return the exported block API 
+ * @return the exported block API
  */
 void *
 libgnunet_plugin_block_test_init (void *cls)
@@ -145,7 +145,7 @@ libgnunet_plugin_block_test_init (void *cls)
 void *
 libgnunet_plugin_block_test_done (void *cls)
 {
-  struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
+  struct GNUNET_BLOCK_PluginFunctions *api = cls;
 
   GNUNET_free (api);
   return NULL;