mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-11 08:13:46 -05:00

When testing the previous commit, I went to great lengths to check all the tricky corner cases of the detailed command-line argument handling in Plink and PuTTY, on Windows and Unix. And did I also double-check that I had not completely broken the very simplest possible invocation of pterm? I did not. The call to cmdline_host_ok() in gtkmain.c was failing an assertion in pterm, because that function only expects to have been called by a program that has the TOOLTYPE_HOST_ARG flag set - if that flag isn't set, the program is expected to come up with its own answer to the question (because I wasn't sure what the right fallback answer would be). And I forgot to conditionalise the call between PuTTY and pterm.