mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
Unix: use conf_dest() in 'unable to open connection' error box.
Alamy Liu points out that asking for CONF_host will display the wrong part of the configuration in the case where serial port setup fails. The Windows front end's analogous message already got this right, but I must have forgotten to change this one too when I introduced conf_dest.
This commit is contained in:
parent
6aac4b9cef
commit
f31a72ba09
@ -4274,7 +4274,7 @@ static void start_backend(struct gui_data *inst)
|
||||
|
||||
if (error) {
|
||||
char *msg = dupprintf("Unable to open connection to %s:\n%s",
|
||||
conf_get_str(inst->conf, CONF_host), error);
|
||||
conf_dest(inst->conf), error);
|
||||
inst->exited = TRUE;
|
||||
fatal_message_box(inst->window, msg);
|
||||
sfree(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user