commit da57a4a64eab170b6dc80d81a7048cdfa4d1ffc8
parent 9df80b513290e84f795e6957d7cf52ebae813037
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 13 Aug 2026 20:20:44 +0200
fix stale comments
Diffstat:
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/exchangedb/helper.h b/src/exchangedb/helper.h
@@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
- * @file pg_helper.h
- * @brief shared internal definitions for postgres DB plugin
+ * @file helper.h
+ * @brief shared internal definitions for the Postgres exchange database
* @author Christian Grothoff
*/
#ifndef PG_HELPER_H
@@ -172,8 +172,9 @@ TALER_EXCHANGEDB_abs_limit (int64_t limit)
/**
- * Wrapper macro to add the currency from the plugin's state
- * when fetching amounts from the database.
+ * Wrapper macro to add the currency from the database context in
+ * the `pg` variable of the calling scope when fetching amounts from
+ * the database.
*
* @param field name of the database field to fetch amount from
* @param[out] amountp pointer to amount to set
diff --git a/src/exchangedb/pg.c b/src/exchangedb/pg.c
@@ -51,7 +51,7 @@ unsigned long long TEH_PG_prep_gen_;
* database. Gives the application a chance to run some
* per-connection initialization logic.
*
- * @param pg database conntext in the exchange
+ * @param pg database context of the exchange
* @param pq database connection handle
*/
static void
@@ -291,4 +291,4 @@ TALER_EXCHANGEDB_disconnect (struct TALER_EXCHANGEDB_PostgresContext *pg)
}
-/* end of plugin_exchangedb_postgres.c */
+/* end of pg.c */