From 073332b52515391338cff7bbe407d126fdf9c893 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 7 Nov 2018 13:26:55 +0100 Subject: 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 --- docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.3') 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; } -- cgit v1.2.3