aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2018-11-07 13:26:55 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-09 15:38:52 +0100
commit073332b52515391338cff7bbe407d126fdf9c893 (patch)
treee29bf6230e1dbb87f20214fda5770af45e8a6650 /docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
parentf859b05c6686b2c5a41fd7805f164229b3c6d7c8 (diff)
docs: ESCape "\n" codes
Groff / Troff will display a: printaf("Errno: %ld\n", error); as: printf("Errno: %ld0, error); when a "\n" is not escaped. Use "\\n" instead. Closes #3246
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3 b/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
index 7cfaa22be..3fb75f747 100644
--- a/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3
@@ -50,7 +50,7 @@ All
.nf
static int closesocket(void *clientp, curl_socket_t item)
{
- printf("libcurl wants to close %d now\n", (int)item);
+ printf("libcurl wants to close %d now\\n", (int)item);
return 0;
}