From: Gisle Vanem Date: Wed, 7 Nov 2018 12:32:17 +0000 (+0100) Subject: More "\n" ESCaping X-Git-Tag: curl-7_63_0~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08b1a851cc503f84f737904b4edeab0b8d3264d4;p=curl More "\n" ESCaping --- 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; }