aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-18 18:45:17 +0000
committerng0 <ng0@n0.is>2019-07-18 18:45:17 +0000
commit3100e3e368aa364294c00184a91fb57e4c80abef (patch)
treee4c18da3de032e8df503174f28962ff3f1f71cc1 /src/microhttpd/mhd_send.c
parent843b844d64578aa20749658c656d93ea2e17710c (diff)
downloadlibmicrohttpd-3100e3e368aa364294c00184a91fb57e4c80abef.tar.gz
libmicrohttpd-3100e3e368aa364294c00184a91fb57e4c80abef.zip
mhd_send.c: call send_tls_adapter() when TLS is used.
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index d32533a8..18996c00 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -218,9 +218,9 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
218 /* for TLS*/ 218 /* for TLS*/
219 219
220 if (0 != (connection->daemon->options & MHD_USE_TLS)) 220 if (0 != (connection->daemon->options & MHD_USE_TLS))
221 /* old TLS code here */; 221 send_tls_adapter(connection, buffer, buffer_size);
222 else 222 else
223 no-TLS; 223 ;
224 224
225 // shouldn't we return 0 or -1? Why re-use the _ERR_ functions? 225 // shouldn't we return 0 or -1? Why re-use the _ERR_ functions?
226 // error handling from send_param_adapter(): 226 // error handling from send_param_adapter():