diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-11-04 23:48:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-11-05 08:28:29 +0100 |
commit | 38ecb56df5cf022caec91b9d6d3769ffb5d3df0c (patch) | |
tree | ea2376dc4a5ba71c3e4295a6e45f285104a5a24f /docs/libcurl/curl_strequal.3 | |
parent | 16b135cae98a0d3c9d6050783a6fb1deb3fae9b5 (diff) | |
download | curl-38ecb56df5cf022caec91b9d6d3769ffb5d3df0c.tar.gz |
man pages: fix backslash-n in examples
... to be proper backslash-backslash-n sequences to render nicely in man
and on website.
Follow-up to 24155569d8a
Reported-by: Sergey Markelov
Fixes https://github.com/curl/curl-www/issues/163
Closes #7962
Diffstat (limited to 'docs/libcurl/curl_strequal.3')
-rw-r--r-- | docs/libcurl/curl_strequal.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_strequal.3 b/docs/libcurl/curl_strequal.3 index 3d8f2d593..8fc6b9484 100644 --- a/docs/libcurl/curl_strequal.3 +++ b/docs/libcurl/curl_strequal.3 @@ -44,9 +44,9 @@ insensitive string comparison functions. These two work on all platforms. .SH EXAMPLE .nf if(curl_strequal(name, input)) - printf("Name and input matches\n"); + printf("Name and input matches\\n"); if(curl_strnequal(name, input, 5)) - printf("Name and input matches in the 5 first bytes\n"); + printf("Name and input matches in the 5 first bytes\\n"); .fi .SH AVAILABILITY These functions will be removed from the public libcurl API in a near |