From f874eb3423cde2257d57c0f5d651297b303b3cff Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Jun 2014 19:24:14 +0000 Subject: -minor code cleanup, indentation, doxygen --- src/transport/plugin_transport_http_common.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/transport/plugin_transport_http_common.c') 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); -- cgit v1.2.3