summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLINFO_ACTIVESOCKET.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_ACTIVESOCKET.3
parent271c63748ada2fa04a25481990e3d7a55d08bed0 (diff)
downloadcurl-289236b223db7baa04c7f1c586f321c8ac04e98a.tar.gz
opts: fix bad example formatting \n => \\n
...to render properly nroff.
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3')
-rw-r--r--docs/libcurl/opts/CURLINFO_ACTIVESOCKET.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3 b/docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3
index 6c8551606..b42ba110f 100644
--- a/docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3
+++ b/docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3
@@ -55,7 +55,7 @@ if(curl) {
res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockfd);
if(res != CURLE_OK) {
- printf("Error: %s\n", curl_easy_strerror(res));
+ printf("Error: %s\\n", curl_easy_strerror(res));
return 1;
}
}