aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/piesctl-cl.opt6
-rw-r--r--src/piesctl.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/piesctl-cl.opt b/src/piesctl-cl.opt
index f7eaf2a..ebdfec4 100644
--- a/src/piesctl-cl.opt
+++ b/src/piesctl-cl.opt
@@ -71,2 +71,8 @@ END
71 71
72OPTION(no-netrc,N,,
73 [<don't read ~/.netrc file>])
74BEGIN
75 no_netrc_option = 1;
76END
77
72GROUP(Preprocessor) 78GROUP(Preprocessor)
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";
51int preprocess_only; 51int preprocess_only;
52int no_netrc_option;
52int verbose; 53int verbose;
@@ -545,3 +546,4 @@ shttp_connect (struct pies_url *url, struct grecs_sockaddr *source_addr)
545 546
546 netrc_scan (conn->url); 547 if (!no_netrc_option)
548 netrc_scan (conn->url);
547 549

Return to:

Send suggestions and report system problems to the System administrator.