[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: use strcasecmp for methods
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: use strcasecmp for methods |
Date: |
Fri, 17 Jan 2020 00:19:26 +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 401a1f82 use strcasecmp for methods
401a1f82 is described below
commit 401a1f82efb39a806c2301f8938557fef14ea174
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 00:19:23 2020 +0100
use strcasecmp for methods
---
src/exchange/taler-exchange-httpd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd.c
b/src/exchange/taler-exchange-httpd.c
index b2c9e4d8..1b9333df 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -425,15 +425,15 @@ handle_mhd_request (void *cls,
/* The URL is a match! What we now do depends on the method. */
- if (0 == strcmp (method, MHD_HTTP_METHOD_OPTIONS))
+ if (0 == strcasecmp (method, MHD_HTTP_METHOD_OPTIONS))
{
GNUNET_async_scope_restore (&old_scope);
return TALER_MHD_reply_cors_preflight (connection);
}
if ( (NULL == rh->method) ||
- (0 == strcmp (method,
- rh->method)) )
+ (0 == strcasecmp (method,
+ rh->method)) )
{
/* FIXME: consider caching 'rh' in '**connection_cls' to
avoid repeated lookup! */
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: use strcasecmp for methods,
gnunet <=