]> granicus.if.org Git - curl/commitdiff
curl_easy_escape.3: escape '\n'
authorSvyatoslav Mishyn <juef@openmailbox.org>
Tue, 25 Aug 2015 05:31:02 +0000 (08:31 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 25 Aug 2015 20:44:22 +0000 (22:44 +0200)
Closes #398

docs/libcurl/curl_easy_escape.3

index a7e50e396ebc57eba1e0564b572499b7c349a87d..c57aeb192e097f6a49cfec53d5d4c96fa7624ba3 100644 (file)
@@ -49,7 +49,7 @@ CURL *curl = curl_easy_init();
 if(curl) {
   char *output = curl_easy_escape(curl, "data to convert", 15);
   if(output) {
-    printf("Encoded: %s\n", output);
+    printf("Encoded: %s\en", output);
     curl_free(output);
   }
 }