summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-12 10:29:29 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-12 10:29:29 +0200
commit4778b1483841cfe956d70813b5aaffd680203469 (patch)
tree5f2fc46f90dcae80f8b62d86cc204b9b556ce850
parent175162ba4469d7a6bbee7dd9d5dcd2e2d9195e01 (diff)
downloadmerchant-4778b1483841cfe956d70813b5aaffd680203469.tar.gz
merchant-4778b1483841cfe956d70813b5aaffd680203469.tar.bz2
merchant-4778b1483841cfe956d70813b5aaffd680203469.zip
remove from waiting list when resuming
-rw-r--r--src/backend/taler-merchant-httpd_private-post-reserves.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-reserves.c b/src/backend/taler-merchant-httpd_private-post-reserves.c
index e561a464..91e459b4 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves.c
@@ -185,6 +185,9 @@ handle_exchange (void *cls,
rc->suspended = false;
MHD_resume_connection (rc->connection);
+ GNUNET_CONTAINER_DLL_remove (rc_head,
+ rc_tail,
+ rc);
if (NULL == hr)
{
rc->ec = TALER_EC_TIMEOUT;