mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
fix typo in the proxy argument
This commit is contained in:
parent
ff9f5a5bc1
commit
8e095bfc73
1 changed files with 1 additions and 1 deletions
|
|
@ -1052,7 +1052,7 @@ check_curl_config_wrapper process_arguments(int argc, char **argv) {
|
|||
break;
|
||||
case 'x': /* proxy info */
|
||||
strncpy(result.config.curl_config.proxy, optarg, DEFAULT_BUFFER_SIZE - 1);
|
||||
result.config.curl_config.user_auth[DEFAULT_BUFFER_SIZE - 1] = 0;
|
||||
result.config.curl_config.proxy[DEFAULT_BUFFER_SIZE - 1] = 0;
|
||||
break;
|
||||
case 'b': /* proxy-authorization info */
|
||||
strncpy(result.config.curl_config.proxy_auth, optarg, MAX_INPUT_BUFFER - 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue