[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated (93ab8a20 -> a180110
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated (93ab8a20 -> a1801101) |
Date: |
Tue, 17 Sep 2019 12:07:56 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a change to branch master
in repository exchange.
from 93ab8a20 do not indent labels
new 7914d7c7 fix use-after-free
new a1801101 make URLs case-sensitive
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/exchange/taler-exchange-httpd.c | 8 ++++----
src/wire-plugins/plugin_wire_taler-bank.c | 5 ++---
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd.c
b/src/exchange/taler-exchange-httpd.c
index cfeaf0ee..32ed71c7 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014, 2015, 2016 Inria and GNUnet e.V.
+ Copyright (C) 2014, 2015, 2016, 2019 Inria and GNUnet e.V.
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software
@@ -454,8 +454,8 @@ handle_mhd_request (void *cls,
for (unsigned int i = 0; NULL != handlers[i].url; i++)
{
rh = &handlers[i];
- if ( (0 == strcasecmp (url,
- rh->url)) &&
+ if ( (0 == strcmp (url,
+ rh->url)) &&
( (NULL == rh->method) ||
(0 == strcasecmp (method,
rh->method)) ) )
@@ -515,7 +515,7 @@ parse_port_config (const char *section,
return GNUNET_SYSERR;
}
- if (0 == strcmp (serve_type, "tcp"))
+ if (0 == strcasecmp (serve_type, "tcp"))
{
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (cfg,
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c
b/src/wire-plugins/plugin_wire_taler-bank.c
index e1db643d..eed57cb9 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -913,7 +913,7 @@ bhist_cb (void *cls,
whh->hh = NULL;
taler_bank_get_history_cancel (NULL,
whh);
- break;
+ return;
default:
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Bank failed with HTTP status %u (EC: %u)\n",
@@ -929,9 +929,8 @@ bhist_cb (void *cls,
whh->hh = NULL;
taler_bank_get_history_cancel (NULL,
whh);
- break;
+ return;
}
- whh->hh = NULL;
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [taler-exchange] branch master updated (93ab8a20 -> a1801101),
gnunet <=