user starts up N PuTTYs at once and one reports failure, they know
which one.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1051
cda61777-01e9-0310-a592-
d414129be87e
error = back->init (cfg.host, cfg.port, &realhost);
if (error) {
error = back->init (cfg.host, cfg.port, &realhost);
if (error) {
- sprintf(msg, "Unable to open connection:\n%s", error);
+ sprintf(msg, "Unable to open connection to\n"
+ "%.800s\n"
+ "%s", cfg.host, error);
MessageBox(NULL, msg, "PuTTY Error", MB_ICONERROR | MB_OK);
return 0;
}
MessageBox(NULL, msg, "PuTTY Error", MB_ICONERROR | MB_OK);
return 0;
}