aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_session_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_https_session_info.c')
-rw-r--r--src/testcurl/https/test_https_session_info.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c
index b692af15..e961edc4 100644
--- a/src/testcurl/https/test_https_session_info.c
+++ b/src/testcurl/https/test_https_session_info.c
@@ -132,7 +132,7 @@ test_query_session ()
132 { 132 {
133 const union MHD_DaemonInfo *dinfo; 133 const union MHD_DaemonInfo *dinfo;
134 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT); 134 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT);
135 if ((NULL == dinfo) ||(0 == dinfo->port) ) 135 if ((NULL == dinfo) || (0 == dinfo->port) )
136 { 136 {
137 MHD_stop_daemon (d); 137 MHD_stop_daemon (d);
138 free (cbc.buf); 138 free (cbc.buf);
@@ -188,6 +188,8 @@ test_query_session ()
188 free (cbc.buf); 188 free (cbc.buf);
189 return 0; 189 return 0;
190} 190}
191
192
191#endif 193#endif
192 194
193int 195int