1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Remove FLAG_INTERACTIVE.

This is simpler than FLAG_VERBOSE: everywhere we need to check it, we
have a Seat available, so we can just make it a Seat query method.
This commit is contained in:
Simon Tatham
2020-01-30 06:40:21 +00:00
parent d20d3b20fd
commit dc59fcf8e3
14 changed files with 39 additions and 24 deletions

2
ssh.c
View File

@ -744,7 +744,7 @@ static const char *connect_to_host(
ssh->fullhostname = NULL;
*realhost = dupstr(host); /* best we can do */
if (seat_verbose(ssh->seat) || (flags & FLAG_INTERACTIVE)) {
if (seat_verbose(ssh->seat) || seat_interactive(ssh->seat)) {
/* In an interactive session, or in verbose mode, announce
* in the console window that we're a sharing downstream,
* to avoid confusing users as to why this session doesn't