gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13746 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r13746 - gnunet/src/dht
Date: Fri, 19 Nov 2010 13:20:02 +0100

Author: nevans
Date: 2010-11-19 13:20:02 +0100 (Fri, 19 Nov 2010)
New Revision: 13746

Modified:
   gnunet/src/dht/dhtlog.c
   gnunet/src/dht/gnunet-service-dht.c
   gnunet/src/dht/plugin_dhtlog_dummy.c
Log:
Fix missing notify_cancel in dht service, dhtlog_dummy bad init return

Modified: gnunet/src/dht/dhtlog.c
===================================================================
--- gnunet/src/dht/dhtlog.c     2010-11-19 11:59:40 UTC (rev 13745)
+++ gnunet/src/dht/dhtlog.c     2010-11-19 12:20:02 UTC (rev 13746)
@@ -70,7 +70,7 @@
 
   api = plugin->dhtlog_api;
   GNUNET_free (plugin_name);
-  GNUNET_free(plugin);
+  GNUNET_free (plugin);
   return api;
 }
 

Modified: gnunet/src/dht/gnunet-service-dht.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht.c 2010-11-19 11:59:40 UTC (rev 13745)
+++ gnunet/src/dht/gnunet-service-dht.c 2010-11-19 12:20:02 UTC (rev 13746)
@@ -3799,6 +3799,9 @@
 
   if (found != NULL)
     {
+      if (found->transmit_handle != NULL)
+        GNUNET_CONNECTION_notify_transmit_ready_cancel(found->transmit_handle);
+
       while(NULL != (reply = found->pending_head))
         {
           GNUNET_CONTAINER_DLL_remove(found->pending_head, 
found->pending_tail, reply);

Modified: gnunet/src/dht/plugin_dhtlog_dummy.c
===================================================================
--- gnunet/src/dht/plugin_dhtlog_dummy.c        2010-11-19 11:59:40 UTC (rev 
13745)
+++ gnunet/src/dht/plugin_dhtlog_dummy.c        2010-11-19 12:20:02 UTC (rev 
13746)
@@ -304,7 +304,7 @@
   plugin->dhtlog_api->insert_topology = &add_topology;
   plugin->dhtlog_api->update_topology = &update_topology;
   plugin->dhtlog_api->insert_extended_topology = &add_extended_topology;
-  return NULL;
+  return plugin;
 }
 
 /**




reply via email to

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