aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-proxy.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/gns/gnunet-gns-proxy.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r--src/gns/gnunet-gns-proxy.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 2a39efef2..7a5dbb627 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -45,7 +45,6 @@
45#include "gns.h" 45#include "gns.h"
46 46
47 47
48
49/** 48/**
50 * Default Socks5 listen port. 49 * Default Socks5 listen port.
51 */ 50 */
@@ -298,7 +297,6 @@ struct Socks5ServerResponseMessage
298}; 297};
299 298
300 299
301
302/* *********************** Datastructures for HTTP handling ****************** */ 300/* *********************** Datastructures for HTTP handling ****************** */
303 301
304/** 302/**
@@ -335,7 +333,6 @@ struct ProxyGNSCertificate
335}; 333};
336 334
337 335
338
339/** 336/**
340 * A structure for all running Httpds 337 * A structure for all running Httpds
341 */ 338 */
@@ -652,7 +649,6 @@ struct Socks5Request
652}; 649};
653 650
654 651
655
656/* *********************** Globals **************************** */ 652/* *********************** Globals **************************** */
657 653
658/** 654/**
@@ -1953,8 +1949,7 @@ create_response (void *cls,
1953 * Pre-populate cache to resolve Hostname. 1949 * Pre-populate cache to resolve Hostname.
1954 * This is necessary as the DNS name in the CURLOPT_URL is used 1950 * This is necessary as the DNS name in the CURLOPT_URL is used
1955 * for SNI http://de.wikipedia.org/wiki/Server_Name_Indication 1951 * for SNI http://de.wikipedia.org/wiki/Server_Name_Indication
1956 */ 1952 */if (NULL != s5r->leho)
1957 if (NULL != s5r->leho)
1958 { 1953 {
1959 char *curl_hosts; 1954 char *curl_hosts;
1960 1955
@@ -2393,6 +2388,7 @@ mhd_connection_cb (void *cls,
2393 } 2388 }
2394} 2389}
2395 2390
2391
2396/** 2392/**
2397 * Function called when MHD first processes an incoming connection. 2393 * Function called when MHD first processes an incoming connection.
2398 * Gives us the respective URI information. 2394 * Gives us the respective URI information.
@@ -3905,4 +3901,5 @@ main (int argc,
3905 return ret; 3901 return ret;
3906} 3902}
3907 3903
3904
3908/* end of gnunet-gns-proxy.c */ 3905/* end of gnunet-gns-proxy.c */