diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-04-13 23:00:45 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-12-31 22:18:56 +0100 |
commit | a8d13336b5dc369a8f517ba55b5c38c9a23d06b2 (patch) | |
tree | 6780958c3c6685ec460125bde8b5fa6af07f5f18 /src/tool_paramhlp.h | |
parent | 9603c8299f135cb670261d0af58825274d0dfdae (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.h')
-rw-r--r-- | src/tool_paramhlp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_paramhlp.h b/src/tool_paramhlp.h index f13a114fd..d925b8476 100644 --- a/src/tool_paramhlp.h +++ b/src/tool_paramhlp.h @@ -50,7 +50,7 @@ int ftpfilemethod(struct OperationConfig *config, const char *str); 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); |