mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
Fixed HTTPS tests under Hurd
This commit is contained in:
1 file changed
+4
@@ -269,7 +269,11 @@ gen_test_file_url (char *url, int port)
|
||||
char *doc_path;
|
||||
size_t doc_path_len;
|
||||
/* setup test file path, url */
|
||||
#ifdef PATH_MAX
|
||||
doc_path_len = PATH_MAX > 4096 ? 4096 : PATH_MAX;
|
||||
#else /* ! PATH_MAX */
|
||||
doc_path_len = 4096;
|
||||
#endif /* ! PATH_MAX */
|
||||
if (NULL == (doc_path = malloc (doc_path_len)))
|
||||
{
|
||||
fprintf (stderr, MHD_E_MEM);
|
||||
|
||||
Reference in new issue
Block a user