From: Christian Grothoff Date: Mon, 22 Feb 2010 08:37:53 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22651 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44975c15a11117b414afc0faba67350a08d1f505;p=oweals%2Fgnunet.git fix --- 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);