aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 4cc6a84b2..a2e4fd129 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -29,15 +29,6 @@
29#include "plugin_transport_http_common.h" 29#include "plugin_transport_http_common.h"
30 30
31 31
32struct SplittedHTTPAddress
33{
34 char *protocol;
35 char *host;
36 char *path;
37 int port;
38};
39
40
41static void 32static void
42http_clean_splitted (struct SplittedHTTPAddress *spa) 33http_clean_splitted (struct SplittedHTTPAddress *spa)
43{ 34{
@@ -474,8 +465,8 @@ http_common_socket_from_address (const void *addr,
474 spa = http_split_address ((const char *) &ha[1]); 465 spa = http_split_address ((const char *) &ha[1]);
475 if (NULL == spa) 466 if (NULL == spa)
476 { 467 {
477 (*res) = GNUNET_SYSERR; 468 (*res) = GNUNET_SYSERR;
478 return NULL; 469 return NULL;
479 } 470 }
480 471
481 s = GNUNET_new (struct sockaddr_storage); 472 s = GNUNET_new (struct sockaddr_storage);