diff options
Diffstat (limited to 'src/piesctl.c')
-rw-r--r-- | src/piesctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/piesctl.c b/src/piesctl.c index 0cd2736..4c777d7 100644 --- a/src/piesctl.c +++ b/src/piesctl.c @@ -51,2 +51,3 @@ char default_config_file[] = SYSCONFDIR "/piesctl.conf"; int preprocess_only; +int no_netrc_option; int verbose; @@ -545,3 +546,4 @@ shttp_connect (struct pies_url *url, struct grecs_sockaddr *source_addr) - netrc_scan (conn->url); + if (!no_netrc_option) + netrc_scan (conn->url); |