mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-19 03:58:05 -05:00
Don't fatalbox() unconditionally when opening a connection, since that makes
it a little difficult to do anything. [originally from svn r2559]
This commit is contained in:
parent
f35cbdce44
commit
80c29aa16f
@ -1,4 +1,4 @@
|
|||||||
/* $Id: macterm.c,v 1.42 2003/01/12 14:23:00 ben Exp $ */
|
/* $Id: macterm.c,v 1.43 2003/01/12 14:44:12 ben Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Simon Tatham
|
* Copyright (c) 1999 Simon Tatham
|
||||||
* Copyright (c) 1999, 2002 Ben Harris
|
* Copyright (c) 1999, 2002 Ben Harris
|
||||||
@ -174,6 +174,7 @@ void mac_startsession(Session *s)
|
|||||||
|
|
||||||
errmsg = s->back->init(s->term, &s->backhandle, s->cfg.host, s->cfg.port,
|
errmsg = s->back->init(s->term, &s->backhandle, s->cfg.host, s->cfg.port,
|
||||||
&s->realhost, s->cfg.tcp_nodelay);
|
&s->realhost, s->cfg.tcp_nodelay);
|
||||||
|
if (errmsg != NULL)
|
||||||
fatalbox("%s", errmsg);
|
fatalbox("%s", errmsg);
|
||||||
s->back->provide_logctx(s->backhandle, s->logctx);
|
s->back->provide_logctx(s->backhandle, s->logctx);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user