From a8d13336b5dc369a8f517ba55b5c38c9a23d06b2 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sat, 13 Apr 2019 23:00:45 +0200 Subject: tool: make a few char pointers point to const char instead These are read-only. Closes https://github.com/curl/curl/pull/4771 --- src/tool_paramhlp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool_paramhlp.c') 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; -- cgit v1.2.3