int hmin = 0;
int panelht = 0;
- get_sesslist(&sl, TRUE);
-
ctrlbox = ctrl_new_box();
- setup_config_box(ctrlbox, &sl, FALSE /*midsession*/, aCfg.protocol,
+ setup_config_box(ctrlbox, FALSE /*midsession*/, aCfg.protocol,
0 /* protcfginfo */);
- unix_setup_config_box(ctrlbox, FALSE /*midsession*/);
+ unix_setup_config_box(ctrlbox, FALSE /*midsession*/, aCfg.protocol);
cfg = aCfg; /* structure copy */
sfree(state);
}
-int verify_ssh_host_key(void *frontend, char *host, int port, char *keytype,
- char *keystr, char *fingerprint,
+int verify_ssh_host_key(void *frontend, char *host, int port,
+ const char *keytype, char *keystr, char *fingerprint,
void (*callback)(void *ctx, int result), void *ctx)
{
static const char absenttxt[] =
[win endSession:FALSE];
}
-void connection_fatal(void *frontend, char *p, ...)
+void connection_fatal(void *frontend, const char *p, ...)
{
SessionWindow *win = (SessionWindow *)frontend;
va_list ap;