mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:43:37 +03:00
Added const to some pointer variables
This commit is contained in:
parent
79fc481a2b
commit
95456b8e78
4 changed files with 28 additions and 23 deletions
|
|
@ -138,6 +138,12 @@ char *curl_easy_escape(CURL *handle, const char *string, int inlength)
|
|||
return ns;
|
||||
}
|
||||
|
||||
/*
|
||||
* Unescapes the given URL escaped string of given length. Returns a
|
||||
* pointer to a malloced string with length given in *olen.
|
||||
* If length == 0, the length is assumed to be strlen(string).
|
||||
* If olen == NULL, no output length is stored.
|
||||
*/
|
||||
char *curl_easy_unescape(CURL *handle, const char *string, int length,
|
||||
int *olen)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue