From d1e3be1f43cdbe9c56b1e112d5acf663ff231083 Mon Sep 17 00:00:00 2001 From: TakayukiMatsuo Date: Thu, 27 May 2021 06:20:34 +0900 Subject: [PATCH] Replace return code from literal to value --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 0c9f27e91..eff41a394 100644 --- a/tests/api.c +++ b/tests/api.c @@ -41675,7 +41675,7 @@ static THREAD_RETURN WOLFSSL_THREAD SSL_read_test_server_thread(void* args) wolfSSL_CTX_free(ctx); CloseSocket(cfd); ((func_args*)args)->return_code = TEST_FAIL; - return WOLFSSL_FAILURE; + return 0; } /* read and write data */