1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

curl_easy_escape.3: escape '\n'

Closes #398
This commit is contained in:
Svyatoslav Mishyn 2015-08-25 08:31:02 +03:00 committed by Daniel Stenberg
parent 37f173cfd0
commit ac7be02e69

View 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);
}
}