summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c34
-rw-r--r--src/frontend/index.php4
2 files changed, 19 insertions, 19 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 4f6b6a3e..b5bb985f 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -158,21 +158,21 @@ postgres_store_payment (void *cls,
PGresult *res;
ExecStatusType status;
- struct TALER_PQ_QueryParam params[] = {
- TALER_PQ_query_param_auto_from_type (h_contract),
- TALER_PQ_query_param_auto_from_type (h_wire),
- TALER_PQ_query_param_uint64 (&transaction_id),
- TALER_PQ_query_param_absolute_time (&timestamp),
- TALER_PQ_query_param_absolute_time (&refund),
+ struct GNUNET_PQ_QueryParam params[] = {
+ GNUNET_PQ_query_param_auto_from_type (h_contract),
+ GNUNET_PQ_query_param_auto_from_type (h_wire),
+ GNUNET_PQ_query_param_uint64 (&transaction_id),
+ GNUNET_PQ_query_param_absolute_time (&timestamp),
+ GNUNET_PQ_query_param_absolute_time (&refund),
TALER_PQ_query_param_amount (amount_without_fee),
- TALER_PQ_query_param_auto_from_type (coin_pub),
+ GNUNET_PQ_query_param_auto_from_type (coin_pub),
TALER_PQ_query_param_json (mint_proof),
- TALER_PQ_query_param_end
+ GNUNET_PQ_query_param_end
};
- res = TALER_PQ_exec_prepared (pg->conn,
- "insert_payment",
- params);
+ res = GNUNET_PQ_exec_prepared (pg->conn,
+ "insert_payment",
+ params);
status = PQresultStatus (res);
if (PGRES_COMMAND_OK != status)
@@ -224,13 +224,13 @@ postgres_check_payment(void *cls,
PGresult *res;
ExecStatusType status;
- struct TALER_PQ_QueryParam params[] = {
- TALER_PQ_query_param_uint64 (&transaction_id),
- TALER_PQ_query_param_end
+ struct GNUNET_PQ_QueryParam params[] = {
+ GNUNET_PQ_query_param_uint64 (&transaction_id),
+ GNUNET_PQ_query_param_end
};
- res = TALER_PQ_exec_prepared (pg->conn,
- "check_payment",
- params);
+ res = GNUNET_PQ_exec_prepared (pg->conn,
+ "check_payment",
+ params);
status = PQresultStatus (res);
if (PGRES_TUPLES_OK != status)
diff --git a/src/frontend/index.php b/src/frontend/index.php
index a616ebc5..ebd8ad06 100644
--- a/src/frontend/index.php
+++ b/src/frontend/index.php
@@ -4,7 +4,7 @@ require_once "../frontend_lib/config.php";
?>
<html lang="en">
<head>
- <title>Toy &quot;Store&quot; - Taler Demo</title>
+ <title>Taler Donation Demo</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="taler-presence.js" type="text/javascript"></script>
<script type="text/javascript">
@@ -51,7 +51,7 @@ echo "\tvar shop_currency = '$SHOP_CURRENCY';\n";
<section id="main">
<article>
- <h1>Welcome to the Taler Demo Shop</h1>
+ <h1>Welcome to the Taler Donation Demo</h1>
<p>This "toy" website provides you with the ability to
experience using the