diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-06 23:51:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-06 23:51:29 +0200 |
commit | 289236b223db7baa04c7f1c586f321c8ac04e98a (patch) | |
tree | 550eab1d871c829a93046238104ab1a52c7cb48a /docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 | |
parent | 271c63748ada2fa04a25481990e3d7a55d08bed0 (diff) |
opts: fix bad example formatting \n => \\n
...to render properly nroff.
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3')
-rw-r--r-- | docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 b/docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 index da6ee77fa..843c4a942 100644 --- a/docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 +++ b/docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.3 @@ -48,9 +48,9 @@ if(curl) { res = curl_easy_getinfo(curl, CURLINFO_HTTPAUTH_AVAIL, &auth); if(!res) { if(!auth) - printf("No auth available, perhaps no 401?\n"); + printf("No auth available, perhaps no 401?\\n"); else { - printf("%s%s%s%s\n", + printf("%s%s%s%s\\n", auth & CURLAUTH_BASIC ? "Basic ":"", auth & CURLAUTH_DIGEST ? "Digest ":"", auth & CURLAUTH_NEGOTIATE ? "Negotiate ":"", |