diff options
author | Harry Sintonen <sintonen@iki.fi> | 2023-01-11 11:39:33 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-12 14:09:23 +0100 |
commit | 2ed0e1f70ee176edf3d2292ab01201eb6baf86b3 (patch) | |
tree | 97743456183f9a8c10749504872b0c733082646e /src/tool_parsecfg.c | |
parent | d6b5d9f4ae65552788f81fbb5da7046423b37586 (diff) | |
download | curl-2ed0e1f70ee176edf3d2292ab01201eb6baf86b3.tar.gz |
tool_getparam: fix hiding of command line secrets
Closes #10276
Diffstat (limited to 'src/tool_parsecfg.c')
-rw-r--r-- | src/tool_parsecfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_parsecfg.c b/src/tool_parsecfg.c index ffc19fdf0..50d03f666 100644 --- a/src/tool_parsecfg.c +++ b/src/tool_parsecfg.c @@ -223,7 +223,7 @@ int parseconfig(const char *filename, struct GlobalConfig *global) #ifdef DEBUG_CONFIG fprintf(stderr, "PARAM: \"%s\"\n",(param ? param : "(null)")); #endif - res = getparameter(option, param, &usedarg, global, operation); + res = getparameter(option, param, NULL, &usedarg, global, operation); operation = global->last; if(!res && param && *param && !usedarg) |