diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-29 09:34:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-29 09:34:22 +0000 |
commit | 4e4fa571bf018c7ae77e9c6b352860b8b2c9f46d (patch) | |
tree | 6bfbd925f4b5e1019d4fc7637e489d1a013deee1 /src/namestore | |
parent | 9d9a3728af2e311bd21cf735561160d91f25e504 (diff) | |
download | gnunet-4e4fa571bf018c7ae77e9c6b352860b8b2c9f46d.tar.gz gnunet-4e4fa571bf018c7ae77e9c6b352860b8b2c9f46d.zip |
bug in zone to name: called with disconnect error instead of signalling "no name found"
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/namestore_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
459 | case GNUNET_NO: | 459 | case GNUNET_NO: |
460 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 460 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
461 | "Namestore has no result for zone to name mapping \n"); | 461 | "Namestore has no result for zone to name mapping \n"); |
462 | break; | 462 | if (NULL != qe->proc) |
463 | qe->proc (qe->proc_cls, &msg->zone, NULL, 0, NULL); | ||
464 | return GNUNET_NO; | ||
463 | case GNUNET_YES: | 465 | case GNUNET_YES: |
464 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 466 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
465 | "Namestore has result for zone to name mapping \n"); | 467 | "Namestore has result for zone to name mapping \n"); |