1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -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) { if(curl) {
char *output = curl_easy_escape(curl, "data to convert", 15); char *output = curl_easy_escape(curl, "data to convert", 15);
if(output) { if(output) {
printf("Encoded: %s\n", output); printf("Encoded: %s\en", output);
curl_free(output); curl_free(output);
} }
} }