263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
-
+
|
error = back->init (hwnd, cfg.host, cfg.port, &realhost);
if (error) {
sprintf(msg, "Unable to open connection:\n%s", error);
MessageBox(NULL, msg, "PuTTY Error", MB_ICONERROR | MB_OK);
return 0;
}
window_name = icon_name = NULL;
sprintf(msg, "PuTTY: %s", realhost);
sprintf(msg, "%s - PuTTY", realhost);
set_title (msg);
set_icon (msg);
}
/*
* Set up the input and output buffers.
*/
|