curl: Moved check for password out of get parameter loop
authorSteve Holme <steve_holme@hotmail.com>
Sun, 25 Aug 2013 21:32:34 +0000 (22:32 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 27 Aug 2013 14:31:21 +0000 (15:31 +0100)
commit3c929ff9f6ea328f304c04ab4214dc879cea4638
tree5147d23d230b3f55c589e57b7e5a5ff0d9bc2fd3
parent9d957294cb0e6c2b65f249ffeb62c94b679a5ede
curl: Moved check for password out of get parameter loop

Moved the calls to checkpasswd() out of the getparameter() function
which allows for any related arguments to be specified on the command
line before or after --user (and --proxy-user).

For example: --bearer doesn't need to be specified before --user to
prevent curl from asking for an unnecessary password as is the case
with commit e7dcc454c67a2f.
src/tool_getparam.c
src/tool_operate.c