aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_wallet_get_order.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_wallet_get_order.c')
-rw-r--r--src/testing/testing_api_cmd_wallet_get_order.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_wallet_get_order.c b/src/testing/testing_api_cmd_wallet_get_order.c
index d0a50a0c..a58dda80 100644
--- a/src/testing/testing_api_cmd_wallet_get_order.c
+++ b/src/testing/testing_api_cmd_wallet_get_order.c
@@ -600,6 +600,9 @@ wallet_poll_order_cb (
600 struct WalletPollOrderStartState *pos = cls; 600 struct WalletPollOrderStartState *pos = cls;
601 601
602 pos->ogh = NULL; 602 pos->ogh = NULL;
603 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
604 "GET /orders/$ID finished with status %u.\n",
605 hr->http_status);
603 pos->http_status = hr->http_status; 606 pos->http_status = hr->http_status;
604 switch (hr->http_status) 607 switch (hr->http_status)
605 { 608 {
@@ -791,6 +794,12 @@ wallet_poll_order_conclude_run (void *cls,
791 GNUNET_assert (poll_cmd->run == &wallet_poll_order_start_run); 794 GNUNET_assert (poll_cmd->run == &wallet_poll_order_start_run);
792 pos = poll_cmd->cls; 795 pos = poll_cmd->cls;
793 pos->cs = poc; 796 pos->cs = poc;
797 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
798 "Waiting on GET /orders/$ID of %s (%s)\n",
799 poc->start_reference,
800 (NULL == pos->ogh)
801 ? "finished"
802 : "active");
794 if (NULL == pos->ogh) 803 if (NULL == pos->ogh)
795 poc->task = GNUNET_SCHEDULER_add_now (&conclude_task, 804 poc->task = GNUNET_SCHEDULER_add_now (&conclude_task,
796 poc); 805 poc);