aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2018-11-07 13:32:17 +0100
committerGitHub <noreply@github.com>2018-11-07 13:32:17 +0100
commit08b1a851cc503f84f737904b4edeab0b8d3264d4 (patch)
tree63a861a883f9bf8b3abafe643ab5c0f3bd78f98a /docs
parentd9a7458557c17055f0193337bfec82a654f8833b (diff)
More "\n" ESCaping
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.36
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.3 b/docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.3
index 69b6db07b..8a7afb620 100644
--- a/docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.3
@@ -70,20 +70,20 @@ static long file_is_coming(struct curl_fileinfo *finfo,
switch(finfo->filetype) {
case CURLFILETYPE_DIRECTORY:
- printf(" DIR\n");
+ printf(" DIR\\n");
break;
case CURLFILETYPE_FILE:
printf("FILE ");
break;
default:
- printf("OTHER\n");
+ printf("OTHER\\n");
break;
}
if(finfo->filetype == CURLFILETYPE_FILE) {
/* do not transfer files >= 50B */
if(finfo->size > 50) {
- printf("SKIPPED\n");
+ printf("SKIPPED\\n");
return CURL_CHUNK_BGN_FUNC_SKIP;
}