[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 03/05: fix crash in test logic due to off by 1
From: |
gnunet |
Subject: |
[taler-merchant] 03/05: fix crash in test logic due to off by 1 |
Date: |
Mon, 20 Feb 2023 18:19:47 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
commit 1eda15ed9451bc8311186a9fe7c196d300ba45ae
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Mon Feb 20 12:15:01 2023 -0500
fix crash in test logic due to off by 1
---
src/testing/testing_api_cmd_testserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/testing/testing_api_cmd_testserver.c
b/src/testing/testing_api_cmd_testserver.c
index c5a929c0..5d0a5ad6 100644
--- a/src/testing/testing_api_cmd_testserver.c
+++ b/src/testing/testing_api_cmd_testserver.c
@@ -276,7 +276,7 @@ testserver_cleanup (void *cls,
struct TestserverState *ser = cls;
(void) cmd;
- for (unsigned int i = 0; i<ser->rcs_length - 1; i++)
+ for (unsigned int i = 0; i<ser->rcs_length; i++)
{
struct RequestCtx *rc = ser->rcs[i];
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.