diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/transport/plugin_transport_http_server.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 6e106fe78..20bdb6273 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <regex.h> | 35 | #include <regex.h> |
36 | 36 | ||
37 | 37 | ||
38 | |||
39 | #if BUILD_HTTPS | 38 | #if BUILD_HTTPS |
40 | #define PLUGIN_NAME "https_server" | 39 | #define PLUGIN_NAME "https_server" |
41 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT \ | 40 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT \ |
@@ -2115,6 +2114,8 @@ server_load_file (const char *file) | |||
2115 | GNUNET_DISK_file_close (gn_file); | 2114 | GNUNET_DISK_file_close (gn_file); |
2116 | return text; | 2115 | return text; |
2117 | } | 2116 | } |
2117 | |||
2118 | |||
2118 | #endif | 2119 | #endif |
2119 | 2120 | ||
2120 | 2121 | ||
@@ -2242,6 +2243,8 @@ server_load_certificate (struct HTTP_Server_Plugin *plugin) | |||
2242 | "TLS certificate loaded\n"); | 2243 | "TLS certificate loaded\n"); |
2243 | return res; | 2244 | return res; |
2244 | } | 2245 | } |
2246 | |||
2247 | |||
2245 | #endif | 2248 | #endif |
2246 | 2249 | ||
2247 | 2250 | ||
@@ -2358,7 +2361,6 @@ server_start (struct HTTP_Server_Plugin *plugin) | |||
2358 | #endif | 2361 | #endif |
2359 | 2362 | ||
2360 | 2363 | ||
2361 | |||
2362 | plugin->server_v4 = NULL; | 2364 | plugin->server_v4 = NULL; |
2363 | if (GNUNET_YES == plugin->use_ipv4) | 2365 | if (GNUNET_YES == plugin->use_ipv4) |
2364 | { | 2366 | { |
@@ -2557,7 +2559,6 @@ server_remove_address (void *cls, | |||
2557 | } | 2559 | } |
2558 | 2560 | ||
2559 | 2561 | ||
2560 | |||
2561 | /** | 2562 | /** |
2562 | * Our external IP address/port mapping has changed. | 2563 | * Our external IP address/port mapping has changed. |
2563 | * | 2564 | * |
@@ -3598,4 +3599,5 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) | |||
3598 | return api; | 3599 | return api; |
3599 | } | 3600 | } |
3600 | 3601 | ||
3602 | |||
3601 | /* end of plugin_transport_http_server.c */ | 3603 | /* end of plugin_transport_http_server.c */ |