diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-15 19:18:57 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-15 21:37:50 +0300 |
commit | e16789ef4fb8d55de9e00c4fbebd88461acae8d5 (patch) | |
tree | a4c78047774f1a89ebce3ac95692953b33293864 | |
parent | da62262d982eb2ea27c3d5b42171e073c2bc9a89 (diff) | |
download | libmicrohttpd-e16789ef4fb8d55de9e00c4fbebd88461acae8d5.tar.gz libmicrohttpd-e16789ef4fb8d55de9e00c4fbebd88461acae8d5.zip |
test_digestauth2: minor improvements
-rw-r--r-- | src/testcurl/test_digestauth2.c | 6 |
1 files 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, | |||
799 | check_res); | 799 | check_res); |
800 | mhdErrorExitDesc ("Impossible returned code"); | 800 | mhdErrorExitDesc ("Impossible returned code"); |
801 | } | 801 | } |
802 | fflush (stderr); | ||
803 | fflush (stdout); | ||
802 | 804 | ||
803 | if (MHD_DAUTH_OK == check_res) | 805 | if (MHD_DAUTH_OK == check_res) |
804 | { | 806 | { |
@@ -832,7 +834,7 @@ ahc_echo (void *cls, | |||
832 | mhdErrorExitDesc ("'MHD_queue_auth_required_response3()' failed"); | 834 | mhdErrorExitDesc ("'MHD_queue_auth_required_response3()' failed"); |
833 | } | 835 | } |
834 | else | 836 | else |
835 | mhdErrorExitDesc ("Wrong 'check_res' value"); | 837 | externalErrorExitDesc ("Wrong 'check_res' value"); |
836 | } | 838 | } |
837 | else | 839 | else |
838 | { | 840 | { |
@@ -960,7 +962,7 @@ ahc_echo (void *cls, | |||
960 | MHD_DIGEST_ALG_SHA256 : | 962 | MHD_DIGEST_ALG_SHA256 : |
961 | MHD_DIGEST_ALG_MD5); | 963 | MHD_DIGEST_ALG_MD5); |
962 | if (MHD_YES != res) | 964 | if (MHD_YES != res) |
963 | mhdErrorExitDesc ("'MHD_queue_auth_fail_response()' failed"); | 965 | mhdErrorExitDesc ("'MHD_queue_auth_fail_response2()' failed"); |
964 | } | 966 | } |
965 | } | 967 | } |
966 | else if (1 == test_oldapi) | 968 | else if (1 == test_oldapi) |