aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLINFO_LASTSOCKET.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_LASTSOCKET.3
parent271c63748ada2fa04a25481990e3d7a55d08bed0 (diff)
opts: fix bad example formatting \n => \\n
...to render properly nroff.
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_LASTSOCKET.3')
-rw-r--r--docs/libcurl/opts/CURLINFO_LASTSOCKET.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLINFO_LASTSOCKET.3 b/docs/libcurl/opts/CURLINFO_LASTSOCKET.3
index 4ea2a3ed0..693f215d5 100644
--- a/docs/libcurl/opts/CURLINFO_LASTSOCKET.3
+++ b/docs/libcurl/opts/CURLINFO_LASTSOCKET.3
@@ -57,7 +57,7 @@ if(curl) {
res = curl_easy_getinfo(curl, CURLINFO_LASTSOCKET, &sockfd);
if(res != CURLE_OK) {
- printf("Error: %s\n", curl_easy_strerror(res));
+ printf("Error: %s\\n", curl_easy_strerror(res));
return 1;
}
}