1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Andrs Garca fixed curl_escape()

This commit is contained in:
Daniel Stenberg 2001-04-07 18:35:28 +00:00
parent 88bb054e1d
commit 84e71e1c50

View File

@ -45,6 +45,7 @@ char *curl_escape(char *string, int length)
int newlen = alloc; int newlen = alloc;
int index=0; int index=0;
length = alloc-1;
while(length--) { while(length--) {
in = *string; in = *string;
if(' ' == in) if(' ' == in)