aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-13 23:00:45 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-12-31 22:18:56 +0100
commita8d13336b5dc369a8f517ba55b5c38c9a23d06b2 (patch)
tree6780958c3c6685ec460125bde8b5fa6af07f5f18 /src/tool_paramhlp.c
parent9603c8299f135cb670261d0af58825274d0dfdae (diff)
tool: make a few char pointers point to const char instead
These are read-only. Closes https://github.com/curl/curl/pull/4771
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index b7a8efbd2..de1b26d70 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -560,7 +560,7 @@ int ftpcccmethod(struct OperationConfig *config, const char *str)
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;