summaryrefslogtreecommitdiff
path: root/docs/examples/crawler.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-07-11 11:47:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-07-11 11:47:21 +0200
commit1f6e38e6af73b6b11e1a7e4032cfd056d1000e70 (patch)
tree3aaa6fb534c5782e0e4ebed5b65f79bddc0a727a /docs/examples/crawler.c
parenteb8138405a3f747f2c236464932f72e918946f68 (diff)
downloadcurl-1f6e38e6af73b6b11e1a7e4032cfd056d1000e70.tar.gz
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
Diffstat (limited to 'docs/examples/crawler.c')
-rw-r--r--docs/examples/crawler.c6
1 files 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));