summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-23 19:24:14 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-23 19:24:14 +0000
commitf874eb3423cde2257d57c0f5d651297b303b3cff (patch)
treedbc7e59d4edcff24cd64b75cfdb78e1198347ac2 /src/transport/plugin_transport_http_common.c
parentcb2ba3aea878701a9bf816892de389eb45ca9aa4 (diff)
-minor code cleanup, indentation, doxygen
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 @@
#include "plugin_transport_http_common.h"
-struct SplittedHTTPAddress
-{
- char *protocol;
- char *host;
- char *path;
- int port;
-};
-
-
static void
http_clean_splitted (struct SplittedHTTPAddress *spa)
{
@@ -474,8 +465,8 @@ http_common_socket_from_address (const void *addr,
spa = http_split_address ((const char *) &ha[1]);
if (NULL == spa)
{
- (*res) = GNUNET_SYSERR;
- return NULL;
+ (*res) = GNUNET_SYSERR;
+ return NULL;
}
s = GNUNET_new (struct sockaddr_storage);