gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: -dox fixes


From: gnunet
Subject: [taler-merchant] branch master updated: -dox fixes
Date: Mon, 11 Jul 2022 15:29:58 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 805549df -dox fixes
805549df is described below

commit 805549df6b52c2c493baaca0e1638b4dc437d735
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 11 15:29:56 2022 +0200

    -dox fixes
---
 src/include/taler_merchant_service.h      | 7 +++----
 src/testing/testing_api_cmd_abort_order.c | 3 +--
 src/testing/testing_api_cmd_get_orders.c  | 4 +---
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/include/taler_merchant_service.h 
b/src/include/taler_merchant_service.h
index 20a0ee8e..e22e84f0 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -1661,7 +1661,7 @@ struct TALER_MERCHANT_OrderWalletGetResponse
  * Callback to process a GET /orders/$ID response
  *
  * @param cls closure
- * @param hr HTTP response details
+ * @param owgs HTTP response details
  */
 typedef void
 (*TALER_MERCHANT_OrderWalletGetCallback) (
@@ -1852,7 +1852,7 @@ struct TALER_MERCHANT_OrderStatusResponse
   union
   {
     /**
-     * Details provided if the HTTP status is #MHD_OK.
+     * Details provided if the HTTP status is #MHD_HTTP_OK.
      */
     struct
     {
@@ -2014,8 +2014,7 @@ struct TALER_MERCHANT_OrderStatusResponse
  * Callback to process a GET /orders/$ID request
  *
  * @param cls closure
- * @param hr HTTP response details
- * @param osr order status response details (on success)
+ * @param osr order status response details
  */
 typedef void
 (*TALER_MERCHANT_OrderMerchantGetCallback) (
diff --git a/src/testing/testing_api_cmd_abort_order.c 
b/src/testing/testing_api_cmd_abort_order.c
index 9c41d53e..b9f7682b 100644
--- a/src/testing/testing_api_cmd_abort_order.c
+++ b/src/testing/testing_api_cmd_abort_order.c
@@ -114,7 +114,6 @@ build_coins (struct TALER_MERCHANT_AbortCoin **ac,
         return GNUNET_SYSERR;
       }
     }
-    // FIXME: ci not used!?
     {
       const struct TALER_TESTING_Command *coin_cmd;
       const char **exchange_url;
@@ -136,7 +135,7 @@ build_coins (struct TALER_MERCHANT_AbortCoin **ac,
 
         GNUNET_assert (GNUNET_OK ==
                        TALER_TESTING_get_trait_coin_priv (coin_cmd,
-                                                          0,
+                                                          ci,
                                                           &coin_priv));
         GNUNET_CRYPTO_eddsa_key_get_public (&coin_priv->eddsa_priv,
                                             &icoin->coin_pub.eddsa_pub);
diff --git a/src/testing/testing_api_cmd_get_orders.c 
b/src/testing/testing_api_cmd_get_orders.c
index 5abe92ab..7a271521 100644
--- a/src/testing/testing_api_cmd_get_orders.c
+++ b/src/testing/testing_api_cmd_get_orders.c
@@ -407,7 +407,6 @@ merchant_poll_orders_cb (
   unsigned int orders_length,
   const struct TALER_MERCHANT_OrderEntry orders[])
 {
-  /* FIXME, deeper checks should be implemented here. */
   struct MerchantPollOrdersStartState *pos = cls;
 
   pos->ogh = NULL;
@@ -424,8 +423,7 @@ merchant_poll_orders_cb (
   switch (hr->http_status)
   {
   case MHD_HTTP_OK:
-    // FIXME: use order references
-    // check if the data returned matches that from the POST / PATCH
+    // FIXME: use order references to check if the data returned matches that 
from the POST / PATCH
     break;
   default:
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]