diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-27 21:59:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-27 21:59:04 +0200 |
commit | 382fb837bd43ec7de93c8e17404732b4c95ccaca (patch) | |
tree | 1737647cf5dc6872886919adfcb1034108225832 /src/testing/testing_api_loop.c | |
parent | b449c7353ef5d789500244c790bae5affedf0ee7 (diff) | |
download | exchange-382fb837bd43ec7de93c8e17404732b4c95ccaca.tar.gz exchange-382fb837bd43ec7de93c8e17404732b4c95ccaca.tar.bz2 exchange-382fb837bd43ec7de93c8e17404732b4c95ccaca.zip |
-work on testing FTBFS
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r-- | src/testing/testing_api_loop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c index ba155589..0de4230e 100644 --- a/src/testing/testing_api_loop.c +++ b/src/testing/testing_api_loop.c @@ -289,8 +289,9 @@ do_shutdown (void *cls) for (unsigned int j = 0; NULL != (cmd = &is->commands[j])->label; j++) - cmd->cleanup (cmd->cls, - cmd); + if (NULL != cmd->cleanup) + cmd->cleanup (cmd->cls, + cmd); if (NULL != is->exchange) { |