diff options
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r-- | src/transport/plugin_transport_http_common.c | 18 |
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 | |||
40 | static void | 40 | static void |
41 | http_clean_splitted (struct SplittedHTTPAddress *spa) | 41 | http_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 | ||
52 | struct SplittedHTTPAddress * | 52 | struct SplittedHTTPAddress * |