make check case-insensitive
This commit is contained in:
parent
7373bbc5c8
commit
170402203a
@ -42,10 +42,10 @@ TALER_mhd_is_https (struct MHD_Connection *connection)
|
|||||||
|
|
||||||
if (NULL != forwarded_proto)
|
if (NULL != forwarded_proto)
|
||||||
{
|
{
|
||||||
if (0 == strcmp (forwarded_proto,
|
if (0 == strcasecmp (forwarded_proto,
|
||||||
"https"))
|
"https"))
|
||||||
return GNUNET_YES;
|
return GNUNET_YES;
|
||||||
if (0 == strcmp (forwarded_proto,
|
if (0 == strcasecmp (forwarded_proto,
|
||||||
"http"))
|
"http"))
|
||||||
return GNUNET_NO;
|
return GNUNET_NO;
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user