[Bug-wget] [PATCH v3] bug #48811: netrc password wins over interactive --ask-password

2016-11-22 Thread Piotr Wajda
* utils.h: New struct net_credentials and pick_credentials function * utils.c: pick_credentials for selecting FTP/HTTP user/passwd according to importance * retr.c: define net_cred structure to hold user/passwd pair * ftp.c: call pick_credentials before getftp * http.c: call pick_credentials

[Bug-wget] [PATCH] Respect -o parameter

2016-11-09 Thread Piotr Wajda
* log.c: don't choose log output dynamically when opt.lfilename is set --- src/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/log.c b/src/log.c index e068acf..51f30c4 100644 --- a/src/log.c +++ b/src/log.c @@ -956,11 +956,11 @@ static void

[Bug-wget] [PATCH v2] bug #45790: wget prints it's progress even when background

2016-09-30 Thread Piotr Wajda
Hi, Reworked recent patch to behave correctly on fg and bg. Now user can switch from fg to bg and vice versa and wget will select fd accordingly. Please review. Thanks Piotr --- src/log.c | 116 +++-- src/log.h | 1 + src/main.c |

[Bug-wget] [PATCH] bug #46584: wget --spider always returns zero exit status

2016-09-20 Thread Piotr Wajda
Sending correctly created patch. Ps. Not sure if I chose FTPNSFOD as a correct exit value name. Piotr --- src/ftp.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ftp.c b/src/ftp.c index 39f20fa..e05d57b 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -1191,6 +1191,7