[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: make check case-insensitive
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: make check case-insensitive |
Date: |
Wed, 01 Dec 2021 17:56:50 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 17040220 make check case-insensitive
17040220 is described below
commit 170402203ae8ba7060da8149de47c875ff4d1946
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Dec 1 17:56:47 2021 +0100
make check case-insensitive
---
src/util/mhd.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/util/mhd.c b/src/util/mhd.c
index 2f262340..6f6b38d3 100644
--- a/src/util/mhd.c
+++ b/src/util/mhd.c
@@ -42,11 +42,11 @@ TALER_mhd_is_https (struct MHD_Connection *connection)
if (NULL != forwarded_proto)
{
- if (0 == strcmp (forwarded_proto,
- "https"))
+ if (0 == strcasecmp (forwarded_proto,
+ "https"))
return GNUNET_YES;
- if (0 == strcmp (forwarded_proto,
- "http"))
+ if (0 == strcasecmp (forwarded_proto,
+ "http"))
return GNUNET_NO;
GNUNET_break (0);
return GNUNET_SYSERR;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: make check case-insensitive,
gnunet <=