mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
test_digestauth2: minor improvements
This commit is contained in:
1 file changed
+4
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user