gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: test_tricky: fixed compatibility


From: gnunet
Subject: [libmicrohttpd] branch master updated: test_tricky: fixed compatibility with libcurl >=7.62 and <7.78
Date: Sun, 17 Oct 2021 17:26:47 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new a378a81c test_tricky: fixed compatibility with libcurl >=7.62 and <7.78
a378a81c is described below

commit a378a81ca755665d1e5aa914e03b1894fc8361ac
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Oct 17 18:26:32 2021 +0300

    test_tricky: fixed compatibility with libcurl >=7.62 and <7.78
---
 src/testcurl/test_tricky.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/testcurl/test_tricky.c b/src/testcurl/test_tricky.c
index caba8aae..d2f5b6d1 100644
--- a/src/testcurl/test_tricky.c
+++ b/src/testcurl/test_tricky.c
@@ -759,7 +759,11 @@ performTestQueries (struct MHD_Daemon *d, int d_port,
 
     if ((CURLUE_OK != curl_url_set (qParam.url, CURLUPART_SCHEME, "http", 0)) 
||
         (CURLUE_OK != curl_url_set (qParam.url, CURLUPART_HOST, URL_HOST,
-                                    CURLU_PATH_AS_IS | CURLU_ALLOW_SPACE)) ||
+                                    CURLU_PATH_AS_IS
+#ifdef CURLU_ALLOW_SPACE
+                                    | CURLU_ALLOW_SPACE
+#endif /* CURLU_ALLOW_SPACE */
+                                    )) ||
         (CURLUE_OK != curl_url_set (qParam.url, CURLUPART_PATH,
                                     EXPECTED_URI_BASE_PATH_TRICKY, 0)))
       libcurlErrorExit ();

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]