gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30964 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r30964 - gnunet/src/namestore
Date: Fri, 29 Nov 2013 10:34:22 +0100

Author: wachs
Date: 2013-11-29 10:34:22 +0100 (Fri, 29 Nov 2013)
New Revision: 30964

Modified:
   gnunet/src/namestore/namestore_api.c
Log:
bug in zone to name: called with disconnect error instead of signalling "no 
name found"


Modified: gnunet/src/namestore/namestore_api.c
===================================================================
--- gnunet/src/namestore/namestore_api.c        2013-11-29 09:05:59 UTC (rev 
30963)
+++ gnunet/src/namestore/namestore_api.c        2013-11-29 09:34:22 UTC (rev 
30964)
@@ -459,7 +459,9 @@
   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");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]