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 24155569d8
Reported-by: Sergey Markelov

Fixes https://github.com/curl/curl-www/issues/163
Closes #7962
This commit is contained in:
Daniel Stenberg 2021-11-04 23:48:23 +01:00
parent 16b135cae9
commit 38ecb56df5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
20 changed files with 22 additions and 22 deletions

View file

@ -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