aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-06 23:51:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-06 23:51:29 +0200
commit289236b223db7baa04c7f1c586f321c8ac04e98a (patch)
tree550eab1d871c829a93046238104ab1a52c7cb48a /docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3
parent271c63748ada2fa04a25481990e3d7a55d08bed0 (diff)
opts: fix bad example formatting \n => \\n
...to render properly nroff.
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3')
-rw-r--r--docs/libcurl/opts/CURLINFO_CONTENT_TYPE.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3 b/docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3
index a7cd70fe9..3dce953e6 100644
--- a/docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3
+++ b/docs/libcurl/opts/CURLINFO_CONTENT_TYPE.3
@@ -51,7 +51,7 @@ if(curl) {
char *ct = NULL;
res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
if(!res && ct) {
- printf("Content-Type: %s\n", ct);
+ printf("Content-Type: %s\\n", ct);
}
}
curl_easy_cleanup(curl);