aboutsummaryrefslogtreecommitdiff
path: root/src/util/util.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 17:03:19 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 17:03:19 +0100
commitfc8bdb9b978334d52b80c318f9326394f855de2d (patch)
tree428c6b9235dee248bef4fc7e7c41b029495b0d0f /src/util/util.c
parent9f522baadcf3b5288d35216962a91b5aeb688820 (diff)
consistently use payto URI instead of URL
Diffstat (limited to 'src/util/util.c')
-rw-r--r--src/util/util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/util.c b/src/util/util.c
index fa0a71f6a..c9fd5a81f 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -546,22 +546,22 @@ TALER_url_absolute_mhd (struct MHD_Connection *connection,
/**
- * Obtain the payment method from a @a payto_url
+ * Obtain the payment method from a @a payto_uri
*
- * @param payto_url the URL to parse
- * @return NULL on error (malformed @a payto_url)
+ * @param payto_uri the URL to parse
+ * @return NULL on error (malformed @a payto_uri)
*/
char *
-TALER_payto_get_method (const char *payto_url)
+TALER_payto_get_method (const char *payto_uri)
{
const char *start;
const char *end;
- if (0 != strncmp (payto_url,
+ if (0 != strncmp (payto_uri,
PAYTO,
strlen (PAYTO)))
return NULL;
- start = &payto_url[strlen (PAYTO)];
+ start = &payto_uri[strlen (PAYTO)];
end = strchr (start,
(unsigned char) '/');
if (NULL == end)