From 4e4fa571bf018c7ae77e9c6b352860b8b2c9f46d Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 29 Nov 2013 09:34:22 +0000 Subject: bug in zone to name: called with disconnect error instead of signalling "no name found" --- src/namestore/namestore_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/namestore/namestore_api.c') diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index a700f3c03..a924a4511 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c @@ -459,7 +459,9 @@ handle_zone_to_name_response (struct GNUNET_NAMESTORE_QueueEntry *qe, case GNUNET_NO: LOG (GNUNET_ERROR_TYPE_DEBUG, "Namestore has no result for zone to name mapping \n"); - break; + if (NULL != qe->proc) + qe->proc (qe->proc_cls, &msg->zone, NULL, 0, NULL); + return GNUNET_NO; case GNUNET_YES: LOG (GNUNET_ERROR_TYPE_DEBUG, "Namestore has result for zone to name mapping \n"); -- cgit v1.2.3