summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-12 19:16:43 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-12 19:16:43 +0200
commit6f579eb833be396b56903ff7252c3023ef46a92d (patch)
tree449e83b49c02c88d72d91396c3dfb186412d511c /src/bank-lib/fakebank.c
parent01f933bbdc69388eb6e0c7a476292a9b667d9027 (diff)
downloadexchange-6f579eb833be396b56903ff7252c3023ef46a92d.tar.gz
exchange-6f579eb833be396b56903ff7252c3023ef46a92d.tar.bz2
exchange-6f579eb833be396b56903ff7252c3023ef46a92d.zip
From payto:// to base url.
The conversion prepends http// or https:// depending on the port given beside the hostname. If port is 433, then prepends https://, otherwise prepends http://. For now, the conversion was only necessary at the /history bank lib.
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r--src/bank-lib/fakebank.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 6761cb519..2a8164684 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -960,6 +960,8 @@ handle_mhd_request (void *cls,
/* Unexpected URL path, just close the connection. */
/* we're rather impolite here, but it's a testcase. */
+ TALER_LOG_ERROR ("Breaking URL: %s\n",
+ url);
GNUNET_break_op (0);
return MHD_NO;
}