summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-23 17:00:40 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-23 17:00:40 +0200
commitd6efbee5700e25a5631c0c13df7648db2e7b6ea6 (patch)
tree098856042cdfc324f2d5ac51251da0fff34ac580 /src
parent99646fc65694d4b93831edb7c59b6c0995e6561d (diff)
downloadtaler-mdb-d6efbee5700e25a5631c0c13df7648db2e7b6ea6.tar.gz
taler-mdb-d6efbee5700e25a5631c0c13df7648db2e7b6ea6.tar.bz2
taler-mdb-d6efbee5700e25a5631c0c13df7648db2e7b6ea6.zip
use sane starting configuration
Diffstat (limited to 'src')
-rw-r--r--src/main.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 38653a2..67a766b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -292,10 +292,9 @@ struct Product
char *description;
/**
- * Which instance should be used for billing?
- * Full URL, replaces the default base URL
- * for orders involving this product. NULL if
- * we should use the base_url.
+ * Which instance should be used for billing? Full URL, replaces
+ * the default base URL for orders involving this product. NULL if
+ * we should use the #backend_base_url.
*/
char *instance;
@@ -1652,11 +1651,15 @@ vend_success ()
*
* @param cls closure
* @param hr HTTP response details
+ * @param refund_uri the refund uri offered to the wallet
+ * @param h_contract hash of the contract a Browser may need to authorize
+ * obtaining the HTTP response.
*/
static void
refund_complete_cb (void *cls,
const struct TALER_MERCHANT_HttpResponse *hr,
- const char *refund_uri)
+ const char *refund_uri,
+ const struct GNUNET_HashCode *h_contract)
{
struct Refund *r = cls;
@@ -2935,6 +2938,7 @@ run (void *cls,
}
{
char *auth;
+
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
"taler-mdb",