* 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
* 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
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 |
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