[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: Formatting and comments for 4e8f8
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: Formatting and comments for 4e8f86a655a7d786bdce3f1330fd8fa083df8dfe |
Date: |
Mon, 19 Apr 2021 18:01:06 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new af1bf13f Formatting and comments for
4e8f86a655a7d786bdce3f1330fd8fa083df8dfe
af1bf13f is described below
commit af1bf13fad1efc6b95218e20f6f81310c3e9ae90
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Apr 19 18:58:52 2021 +0300
Formatting and comments for 4e8f86a655a7d786bdce3f1330fd8fa083df8dfe
---
src/microhttpd/daemon.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 0ce0a242..1a4d7452 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2551,21 +2551,21 @@ new_connection_prepare_ (struct MHD_Daemon *daemon,
return NULL;
}
#if (GNUTLS_VERSION_NUMBER + 0 >= 0x030200)
- if (!daemon->disable_alpn)
+ if (! daemon->disable_alpn)
{
gnutls_datum_t prts[2];
- const char prt1[] = "http/1.1";
- const char prt2[] = "http/1.0";
+ const char prt1[] = "http/1.1"; /* Registered code for HTTP/1.1 */
+ const char prt2[] = "http/1.0"; /* Registered code for HTTP/1.0 */
prts[0].data = (void*) prt1;
prts[0].size = MHD_STATICSTR_LEN_ (prt1);
prts[1].data = (void*) prt2;
prts[1].size = MHD_STATICSTR_LEN_ (prt2);
if (GNUTLS_E_SUCCESS !=
- gnutls_alpn_set_protocols(connection->tls_session,
- prts,
- sizeof(prts) / sizeof(prts[0]),
- 0 /* || GNUTLS_ALPN_SERVER_PRECEDENCE */))
+ gnutls_alpn_set_protocols (connection->tls_session,
+ prts,
+ sizeof(prts) / sizeof(prts[0]),
+ 0 /* || GNUTLS_ALPN_SERVER_PRECEDENCE */))
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: Formatting and comments for 4e8f86a655a7d786bdce3f1330fd8fa083df8dfe,
gnunet <=