diff options
Diffstat (limited to 'src/block/plugin_block_fs.c')
-rw-r--r-- | src/block/plugin_block_fs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/block/plugin_block_fs.c b/src/block/plugin_block_fs.c index 362932991..0626e458c 100644 --- a/src/block/plugin_block_fs.c +++ b/src/block/plugin_block_fs.c | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "plugin_block.h" | 28 | #include "plugin_block.h" |
29 | #include "block_fs.h" | ||
29 | #include "gnunet_signatures.h" | 30 | #include "gnunet_signatures.h" |
30 | 31 | ||
31 | #define DEBUG_FS_BLOCK GNUNET_NO | 32 | #define DEBUG_FS_BLOCK GNUNET_NO |
@@ -97,6 +98,8 @@ block_plugin_fs_evaluate (void *cls, | |||
97 | GNUNET_break_op (0); | 98 | GNUNET_break_op (0); |
98 | return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; | 99 | return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; |
99 | } | 100 | } |
101 | if (reply_block == NULL) | ||
102 | return GNUNET_BLOCK_EVALUATION_REQUEST_VALID; | ||
100 | return GNUNET_BLOCK_EVALUATION_OK_LAST; | 103 | return GNUNET_BLOCK_EVALUATION_OK_LAST; |
101 | case GNUNET_BLOCK_TYPE_KBLOCK: | 104 | case GNUNET_BLOCK_TYPE_KBLOCK: |
102 | case GNUNET_BLOCK_TYPE_NBLOCK: | 105 | case GNUNET_BLOCK_TYPE_NBLOCK: |
@@ -310,7 +313,7 @@ block_plugin_fs_get_key (void *cls, | |||
310 | * Entry point for the plugin. | 313 | * Entry point for the plugin. |
311 | */ | 314 | */ |
312 | void * | 315 | void * |
313 | gnunet_plugin_block_fs_init (void *cls) | 316 | libgnunet_plugin_block_fs_init (void *cls) |
314 | { | 317 | { |
315 | static enum GNUNET_BLOCK_Type types[] = | 318 | static enum GNUNET_BLOCK_Type types[] = |
316 | { | 319 | { |
@@ -335,7 +338,7 @@ gnunet_plugin_block_fs_init (void *cls) | |||
335 | * Exit point from the plugin. | 338 | * Exit point from the plugin. |
336 | */ | 339 | */ |
337 | void * | 340 | void * |
338 | gnunet_plugin_block_fs_done (void *cls) | 341 | libgnunet_plugin_block_fs_done (void *cls) |
339 | { | 342 | { |
340 | struct GNUNET_TRANSPORT_PluginFunctions *api = cls; | 343 | struct GNUNET_TRANSPORT_PluginFunctions *api = cls; |
341 | 344 | ||