commit ddd2d667d09868b94ff8c4e20848f3f07c6dfcd2
parent 04a3cfce206a341c836223c0161add5a9bf8cc22
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Thu, 18 Dec 2025 11:21:58 +0100
tls_open_funcs.c: minor formatting improvement
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mhd2/tls_open_funcs.c b/src/mhd2/tls_open_funcs.c
@@ -444,8 +444,7 @@ daemon_load_lib_conf (struct MHD_Daemon *restrict d,
if ('\0' == conf_pathname[0])
{
- /* A short-cut */
- OPENSSL_free (conf_pathname);
+ OPENSSL_free (conf_pathname); /* A short-cut */
if (NULL == s->tls_app_name.v_app_name)
return MHD_SC_OK; /* No special "application name" profile is needed */
@@ -454,6 +453,7 @@ daemon_load_lib_conf (struct MHD_Daemon *restrict d,
return MHD_SC_OK; /* Initialisation allowed with default values */
/* Load of special "application name" profile is required */
+
if (! use_custom_conf_pathname)
return MHD_SC_TLS_DAEMON_INIT_FAILED; /* No fallback pathname */