libmicrohttpd

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

commit 6b791e561236304ae5427b8c177d9c20b0767c3a
parent 984e275a1add1d129cfee116bb3eafb8bde16ddc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 16 May 2023 12:57:44 +0300

test_toolarge: fixed reported error description

Diffstat:
Msrc/testcurl/test_toolarge.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testcurl/test_toolarge.c b/src/testcurl/test_toolarge.c @@ -782,7 +782,7 @@ doCurlQueryInThread (struct MHD_Daemon *d, { if (CURLE_OPERATION_TIMEDOUT == errornum) mhdErrorExitDesc ("Request was aborted due to timeout"); - fprintf (stderr, "libcurl returned expected error: %s\n", + fprintf (stderr, "libcurl returned unexpected error: %s\n", curl_easy_strerror (errornum)); mhdErrorExitDesc ("Request failed due to unexpected error"); }