diff --git a/src/exchange/taler-exchange-httpd_purses_merge.c b/src/exchange/taler-exchange-httpd_purses_merge.c index 84c7402cd..8751e3f15 100644 --- a/src/exchange/taler-exchange-httpd_purses_merge.c +++ b/src/exchange/taler-exchange-httpd_purses_merge.c @@ -480,7 +480,7 @@ TEH_handler_purses_merge ( "payto://taler-reserve/", strlen ("payto://taler-reserve/"))) && (0 != strncmp (pcc.payto_uri, - "payto://taler-reserve+http/", + "payto://taler-reserve-http/", strlen ("payto://taler-reserve+http/"))) ) { GNUNET_break_op (0); @@ -491,12 +491,12 @@ TEH_handler_purses_merge ( "payto_uri"); } http = (0 == strncmp (pcc.payto_uri, - "payto://taler-reserve+http/", - strlen ("payto://taler-reserve+http/"))); + "payto://taler-reserve-http/", + strlen ("payto://taler-reserve-http/"))); { const char *host = &pcc.payto_uri[http - ? strlen ("payto://taler-reserve+http/") + ? strlen ("payto://taler-reserve-http/") : strlen ("payto://taler-reserve/")]; const char *slash = strchr (host, '/'); diff --git a/src/util/payto.c b/src/util/payto.c index 363545c96..81664b1df 100644 --- a/src/util/payto.c +++ b/src/util/payto.c @@ -310,7 +310,7 @@ TALER_reserve_make_payto (const char *exchange_url, /* exchange_url includes trailing '/' */ GNUNET_asprintf (&reserve_url, "payto://%s/%s%s", - is_http ? "taler-reserve+http" : "taler-reserve", + is_http ? "taler-reserve-http" : "taler-reserve", exchange_url, pub_str); return reserve_url;