[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 04/10: Fixed compiler warning
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 04/10: Fixed compiler warning |
Date: |
Tue, 21 May 2019 21:29:08 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 93d614ea838ffb0f9f595a8d6d1c3f2d6419afb2
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue May 21 20:49:01 2019 +0300
Fixed compiler warning
---
src/microhttpd/digestauth.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 06c1a5a9..c2783dd7 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1188,6 +1188,7 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
} skey; \
struct DigestAlgorithm da; \
\
+ do { \
switch (algo) { \
case MHD_DIGEST_ALG_MD5: \
da.digest_size = MD5_DIGEST_SIZE; \
@@ -1209,7 +1210,8 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
da.update = &sha256_update; \
da.digest = &sha256_finish; \
break; \
- }
+ } \
+ } while(0)
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libmicrohttpd] branch master updated (d5d03f11 -> 9da5831c), gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 03/10: Removed unused macro, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 04/10: Fixed compiler warning,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 02/10: Avoid dropping 'const' qualifier in macros, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 06/10: Check TLS strings lengths, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 05/10: MHD_start_daemon(): fixed port detection on some platforms, avoid re-use variable names., gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 01/10: Fixed doxygen comments, Fixed spelling in comments, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 07/10: Removed extra ';', gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 08/10: MHD_set_connection_value_n_nocheck_() mark as static function, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 09/10: MHD_start_daemon(): report if TCP_FASTOPEN is used on supported platform, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 10/10: ChangeLog updated, gnunet, 2019/05/21