libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e16789ef4fb8d55de9e00c4fbebd88461acae8d5
parent da62262d982eb2ea27c3d5b42171e073c2bc9a89
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon, 15 Aug 2022 19:18:57 +0300

test_digestauth2: minor improvements

Diffstat:
Msrc/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 @@ -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)