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:
parent
88bb054e1d
commit
84e71e1c50
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user