diff options
Diffstat (limited to 'src/datacache/plugin_datacache_heap.c')
-rw-r--r-- | src/datacache/plugin_datacache_heap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_heap.c b/src/datacache/plugin_datacache_heap.c index 2a08fc81b..494d1ae17 100644 --- a/src/datacache/plugin_datacache_heap.c +++ b/src/datacache/plugin_datacache_heap.c | |||
@@ -314,6 +314,9 @@ get_cb (void *cls, | |||
314 | if ( (get_ctx->type != val->type) && | 314 | if ( (get_ctx->type != val->type) && |
315 | (GNUNET_BLOCK_TYPE_ANY != get_ctx->type) ) | 315 | (GNUNET_BLOCK_TYPE_ANY != get_ctx->type) ) |
316 | return GNUNET_OK; | 316 | return GNUNET_OK; |
317 | if (0 == | ||
318 | GNUNET_TIME_absolute_get_remaining (val->discard_time).rel_value_us) | ||
319 | return GNUNET_OK; | ||
317 | if (NULL != get_ctx->iter) | 320 | if (NULL != get_ctx->iter) |
318 | ret = get_ctx->iter (get_ctx->iter_cls, | 321 | ret = get_ctx->iter (get_ctx->iter_cls, |
319 | key, | 322 | key, |