gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 01/153: examples/crawler.c: move #ifdef to column 0


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 01/153: examples/crawler.c: move #ifdef to column 0
Date: Tue, 11 Sep 2018 12:51:12 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 1f6e38e6af73b6b11e1a7e4032cfd056d1000e70
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Jul 11 11:47:21 2018 +0200

    examples/crawler.c: move #ifdef to column 0
    
    Apparently the C => HTML converter on the web site doesn't quite like it
    otherwise.
    
    Reported-by: Jeroen Ooms
---
 docs/examples/crawler.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/examples/crawler.c b/docs/examples/crawler.c
index 47c427473..0aeb86545 100644
--- a/docs/examples/crawler.c
+++ b/docs/examples/crawler.c
@@ -149,9 +149,9 @@ int main(void)
   curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 6L);
 
   /* enables http/2 if available */
-  #ifdef CURLPIPE_MULTIPLEX
-    curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
-  #endif
+#ifdef CURLPIPE_MULTIPLEX
+  curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
+#endif
 
   /* sets html start page */
   curl_multi_add_handle(multi_handle, make_handle(start_page));

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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