diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-05 23:16:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-05 23:16:19 +0200 |
commit | 1a23dd25c36bdb0e0be264730e9088a49a1e8152 (patch) | |
tree | 0df4a2329e32c5908b6ffd9d5aa9eda2cd075a4c /src/testcurl/https/test_tls_extensions.c | |
parent | 111e08fbe3f436bd21f78ab8c6c4c3b79e728bba (diff) | |
download | libmicrohttpd-1a23dd25c36bdb0e0be264730e9088a49a1e8152.tar.gz libmicrohttpd-1a23dd25c36bdb0e0be264730e9088a49a1e8152.zip |
misc style improvements, fixing some tiny rare memory leaks in examples
Diffstat (limited to 'src/testcurl/https/test_tls_extensions.c')
-rw-r--r-- | src/testcurl/https/test_tls_extensions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testcurl/https/test_tls_extensions.c b/src/testcurl/https/test_tls_extensions.c index a7bb6d4e..98725ee3 100644 --- a/src/testcurl/https/test_tls_extensions.c +++ b/src/testcurl/https/test_tls_extensions.c | |||
@@ -168,7 +168,9 @@ test_hello_extension (gnutls_session_t session, int port, extensions_t exten_t, | |||
168 | 168 | ||
169 | gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) sd); | 169 | gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) sd); |
170 | 170 | ||
171 | if (gen_test_file_url (url, port)) | 171 | if (gen_test_file_url (url, |
172 | sizeof (url), | ||
173 | port)) | ||
172 | { | 174 | { |
173 | ret = -1; | 175 | ret = -1; |
174 | goto cleanup; | 176 | goto cleanup; |