From 289236b223db7baa04c7f1c586f321c8ac04e98a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 6 May 2017 23:51:29 +0200 Subject: opts: fix bad example formatting \n => \\n ...to render properly nroff. --- docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/libcurl/opts/CURLINFO_ACTIVESOCKET.3') 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; } } -- cgit v1.2.3