[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11277 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11277 - gnunet/src/transport |
Date: |
Mon, 10 May 2010 11:18:29 +0200 |
Author: wachs
Date: 2010-05-10 11:18:29 +0200 (Mon, 10 May 2010)
New Revision: 11277
Modified:
gnunet/src/transport/plugin_transport_http.c
gnunet/src/transport/test_plugin_transport_http.c
Log:
Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c 2010-05-10 09:16:34 UTC
(rev 11276)
+++ gnunet/src/transport/plugin_transport_http.c 2010-05-10 09:18:29 UTC
(rev 11277)
@@ -262,7 +262,19 @@
return NULL;
}
+/**
+ * Exit point from the plugin.
+ */
+void *
+libgnunet_plugin_transport_http_done (void *cls)
+{
+ struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
+ struct Plugin *plugin = api->cls;
+ GNUNET_free (plugin);
+ GNUNET_free (api);
+ return NULL;
+}
/**
@@ -274,6 +286,7 @@
struct GNUNET_TRANSPORT_PluginEnvironment *env = cls;
struct GNUNET_TRANSPORT_PluginFunctions *api;
struct Plugin *plugin;
+ long long unsigned int port;
plugin = GNUNET_malloc (sizeof (struct Plugin));
plugin->env = env;
@@ -306,19 +319,4 @@
return api;
}
-
-/**
- * Exit point from the plugin.
- */
-void *
-libgnunet_plugin_transport_http_done (void *cls)
-{
- struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
- struct Plugin *plugin = api->cls;
-
- GNUNET_free (plugin);
- GNUNET_free (api);
- return NULL;
-}
-
/* end of plugin_transport_template.c */
Modified: gnunet/src/transport/test_plugin_transport_http.c
===================================================================
--- gnunet/src/transport/test_plugin_transport_http.c 2010-05-10 09:16:34 UTC
(rev 11276)
+++ gnunet/src/transport/test_plugin_transport_http.c 2010-05-10 09:18:29 UTC
(rev 11277)
@@ -217,6 +217,7 @@
{
stat_get_handle = NULL;
}
+#endif
/**
* Task that checks if we should try to download a hostlist.
@@ -251,7 +252,6 @@
ti_check_stat = GNUNET_SCHEDULER_add_delayed (sched, STAT_INTERVALL,
&task_check_stat, NULL);
return;
}
-#endif
/**
* Runs the test.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11277 - gnunet/src/transport,
gnunet <=