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_ACTIVESOCKET.3 | |
parent | 271c63748ada2fa04a25481990e3d7a55d08bed0 (diff) | |
download | curl-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.3 | 2 |
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; } } |