summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_share_init.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-04 23:48:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-05 08:28:29 +0100
commit38ecb56df5cf022caec91b9d6d3769ffb5d3df0c (patch)
treeea2376dc4a5ba71c3e4295a6e45f285104a5a24f /docs/libcurl/curl_share_init.3
parent16b135cae98a0d3c9d6050783a6fb1deb3fae9b5 (diff)
downloadcurl-38ecb56df5cf022caec91b9d6d3769ffb5d3df0c.tar.gz
man pages: fix backslash-n in examples
... to be proper backslash-backslash-n sequences to render nicely in man and on website. Follow-up to 24155569d8a Reported-by: Sergey Markelov Fixes https://github.com/curl/curl-www/issues/163 Closes #7962
Diffstat (limited to 'docs/libcurl/curl_share_init.3')
-rw-r--r--docs/libcurl/curl_share_init.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/curl_share_init.3 b/docs/libcurl/curl_share_init.3
index 4bca9d3d3..ad0b348af 100644
--- a/docs/libcurl/curl_share_init.3
+++ b/docs/libcurl/curl_share_init.3
@@ -42,7 +42,7 @@ specific curl handle use the data in this share.
share = curl_share_init();
sh = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT);
if(sh)
- printf("Error: %s\n", curl_share_strerror(sh));
+ printf("Error: %s\\n", curl_share_strerror(sh));
.fi
.SH AVAILABILITY
Added in 7.10