From e16789ef4fb8d55de9e00c4fbebd88461acae8d5 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 15 Aug 2022 19:18:57 +0300 Subject: [PATCH] test_digestauth2: minor improvements --- src/testcurl/test_digestauth2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testcurl/test_digestauth2.c b/src/testcurl/test_digestauth2.c index ff82eeb8..800d57b2 100644 --- a/src/testcurl/test_digestauth2.c +++ b/src/testcurl/test_digestauth2.c @@ -799,6 +799,8 @@ ahc_echo (void *cls, check_res); mhdErrorExitDesc ("Impossible returned code"); } + fflush (stderr); + fflush (stdout); if (MHD_DAUTH_OK == check_res) { @@ -832,7 +834,7 @@ ahc_echo (void *cls, mhdErrorExitDesc ("'MHD_queue_auth_required_response3()' failed"); } else - mhdErrorExitDesc ("Wrong 'check_res' value"); + externalErrorExitDesc ("Wrong 'check_res' value"); } else { @@ -960,7 +962,7 @@ ahc_echo (void *cls, MHD_DIGEST_ALG_SHA256 : MHD_DIGEST_ALG_MD5); if (MHD_YES != res) - mhdErrorExitDesc ("'MHD_queue_auth_fail_response()' failed"); + mhdErrorExitDesc ("'MHD_queue_auth_fail_response2()' failed"); } } else if (1 == test_oldapi)