tty-ask-pwd-agent: simplify handling of --wall a bit
authorFranck Bui <fbui@suse.com>
Tue, 17 Sep 2019 07:48:12 +0000 (09:48 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 17 Sep 2019 07:54:02 +0000 (09:54 +0200)
commit85c221eb9819624ec05be13e10ecd5989e104cba
tree822fd8cf9ef490425b81f5731a848d1aa2fe198f
parent65943cc3507bf54390d598e06df60771e913fb72
tty-ask-pwd-agent: simplify handling of --wall a bit

"wall" was always NULL when passed to parse_password() so let's simplify this
part a bit.

The effective changes are small but wall_tty_match() needed to be moved so it's
still visible from parse_password().

No functional changes.
src/tty-ask-password-agent/tty-ask-password-agent.c