These are read-only.
Closes https://github.com/curl/curl/pull/4771
}
{
/* byte range requested */
- char *tmp_range;
- tmp_range = nextarg;
+ const char *tmp_range = nextarg;
while(*tmp_range != '\0') {
if(!ISDIGIT(*tmp_range) && *tmp_range != '-' && *tmp_range != ',') {
warnf(global, "Invalid character is found in given range. "
return CURLFTPSSL_CCC_PASSIVE;
}
-long delegation(struct OperationConfig *config, char *str)
+long delegation(struct OperationConfig *config, const char *str)
{
if(curl_strequal("none", str))
return CURLGSSAPI_DELEGATION_NONE;
int ftpcccmethod(struct OperationConfig *config, const char *str);
-long delegation(struct OperationConfig *config, char *str);
+long delegation(struct OperationConfig *config, const char *str);
ParameterError str2tls_max(long *val, const char *str);