aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-30 20:35:10 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-30 20:35:10 +0000
commita0ba5b741b56036bd35bd9ba88164324b2ff7ada (patch)
tree3fd10a0fc15f9a9e7cf5415b2bec86d97d7fe825 /src/transport/plugin_transport_http_common.c
parent427dd6f998fb1fde515a3b5c800f9f6d308197b2 (diff)
downloadgnunet-a0ba5b741b56036bd35bd9ba88164324b2ff7ada.tar.gz
gnunet-a0ba5b741b56036bd35bd9ba88164324b2ff7ada.zip
-getting ATS and transport to compile again (part of #3047)
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 7a7f9ad0c..569a47255 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -23,9 +23,8 @@
23 * @brief functionality shared by http client and server transport service plugin 23 * @brief functionality shared by http client and server transport service plugin
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 */ 25 */
26
27#include "platform.h" 26#include "platform.h"
28#include "gnunet_common.h" 27#include "gnunet_util_lib.h"
29#include "gnunet_transport_plugin.h" 28#include "gnunet_transport_plugin.h"
30#include "plugin_transport_http_common.h" 29#include "plugin_transport_http_common.h"
31 30
@@ -37,16 +36,17 @@ struct SplittedHTTPAddress
37 int port; 36 int port;
38}; 37};
39 38
39
40static void 40static void
41http_clean_splitted (struct SplittedHTTPAddress *spa) 41http_clean_splitted (struct SplittedHTTPAddress *spa)
42{ 42{
43 if (NULL != spa) 43 if (NULL != spa)
44 { 44 {
45 GNUNET_free_non_null (spa->protocol); 45 GNUNET_free_non_null (spa->protocol);
46 GNUNET_free_non_null (spa->host); 46 GNUNET_free_non_null (spa->host);
47 GNUNET_free_non_null (spa->path); 47 GNUNET_free_non_null (spa->path);
48 GNUNET_free_non_null (spa); 48 GNUNET_free_non_null (spa);
49 } 49 }
50} 50}
51 51
52struct SplittedHTTPAddress * 52struct SplittedHTTPAddress *