gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11256 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r11256 - gnunet/src/transport
Date: Fri, 7 May 2010 14:37:58 +0200

Author: wachs
Date: 2010-05-07 14:37:58 +0200 (Fri, 07 May 2010)
New Revision: 11256

Modified:
   gnunet/src/transport/test_plugin_transport_http.c
Log:


Modified: gnunet/src/transport/test_plugin_transport_http.c
===================================================================
--- gnunet/src/transport/test_plugin_transport_http.c   2010-05-07 12:15:13 UTC 
(rev 11255)
+++ gnunet/src/transport/test_plugin_transport_http.c   2010-05-07 12:37:58 UTC 
(rev 11256)
@@ -162,9 +162,11 @@
 static void
 shutdown_clean ()
 {
-  GNUNET_assert (NULL ==
-                 GNUNET_PLUGIN_unload ("libgnunet_plugin_transport_http",
-                                       api));
+  if (ti_check_stat != GNUNET_SCHEDULER_NO_TASK)
+    GNUNET_SCHEDULER_cancel(sched,ti_check_stat);
+  ti_check_stat = GNUNET_SCHEDULER_NO_TASK;
+
+  GNUNET_assert (NULL == GNUNET_PLUGIN_unload 
("libgnunet_plugin_transport_http", api));
   GNUNET_SCHEDULER_shutdown(sched);
   return;
 }
@@ -217,13 +219,13 @@
   setup_plugin_environment ();
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTP transport plugin\n"));
   GNUNET_asprintf (&libname, "libgnunet_plugin_transport_http");
-
   api = GNUNET_PLUGIN_load (libname, &env);
   GNUNET_free (libname);
   if (api == NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _("Failed to load transport plugin for udp\n"));
+    fail = GNUNET_YES;
     return;
   }
 





reply via email to

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