~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b41d3a
)
Don't fatalbox() unconditionally when opening a connection, since that makes
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 14:44:12 +0000
(14:44 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 14:44:12 +0000
(14:44 +0000)
it a little difficult to do anything.
git-svn-id: svn://svn.tartarus.org/sgt/putty@2559
cda61777
-01e9-0310-a592-
d414129be87e
mac/macterm.c
patch
|
blob
|
blame
|
history
diff --git
a/mac/macterm.c
b/mac/macterm.c
index
9da219b
..
59bca7f
100644
(file)
--- a/
mac/macterm.c
+++ b/
mac/macterm.c
@@
-1,4
+1,4
@@
-/* $Id: macterm.c,v 1.4
2 2003/01/12 14:23:00
ben Exp $ */
+/* $Id: macterm.c,v 1.4
3 2003/01/12 14:44:12
ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
@@
-174,7
+174,8
@@
void mac_startsession(Session *s)
errmsg = s->back->init(s->term, &s->backhandle, s->cfg.host, s->cfg.port,
&s->realhost, s->cfg.tcp_nodelay);
- fatalbox("%s", errmsg);
+ if (errmsg != NULL)
+ fatalbox("%s", errmsg);
s->back->provide_logctx(s->backhandle, s->logctx);
term_provide_resize_fn(s->term, s->back->size, s->backhandle);