test_timeout: more detailed libcurl error report

This commit is contained in:
Evgeny Grin (Karlson2k)
2025-04-12 19:45:47 +03:00
parent 6e730f1ef4
commit c372caeb3c
+5 -1
View File
@@ -392,8 +392,12 @@ testWithTimeout (void)
}
}
else
/* curl had the timeout first */
{
fprintf (stderr, "libcurl reported error: %s (%u)\n",
curl_easy_strerror (errornum),
errornum);
return 32;
}
}
curl_easy_cleanup (c);
MHD_stop_daemon (d);