From 44975c15a11117b414afc0faba67350a08d1f505 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Feb 2010 08:37:53 +0000 Subject: [PATCH] fix --- src/datastore/gnunet-service-datastore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 161fbc1d8..b9d82fdc2 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c @@ -546,8 +546,9 @@ get_next(void *next_cls, if (status != GNUNET_OK) { GNUNET_log (GNUNET_ERROR_TYPE_INFO, - _("Failed to transmit an item to the client; aborting iteration.\n")); - plugin->api->next_request (next_cls, GNUNET_YES); + _("Failed to transmit an item to the client; aborting iteration.\n")); + if (plugin != NULL) + plugin->api->next_request (next_cls, GNUNET_YES); return; } plugin->api->next_request (next_cls, GNUNET_NO); -- 2.25.1