aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 56cd12fe8..10ba80a19 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -3013,7 +3013,12 @@ const char *http_plugin_address_to_string (void *cls,
3013 const void *addr, 3013 const void *addr,
3014 size_t addrlen) 3014 size_t addrlen)
3015{ 3015{
3016 return http_common_plugin_address_to_string (cls, p->protocol, addr, addrlen); 3016#if BUILD_HTTPS
3017 return http_common_plugin_address_to_string (cls, PLUGIN_NAME, addr, addrlen);
3018#else
3019 return http_common_plugin_address_to_string (cls, PLUGIN_NAME, addr, addrlen);
3020#endif
3021
3017} 3022}
3018 3023
3019/** 3024/**