X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/bb8dd32fe5dd5e47a54dcae9d16ebdf90df15894..72e8da4264659149cce87bf8e757f8cdb3d4ba0f:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index c83cb6d8..7766c7b9 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.74 2003/04/12 21:07:25 ben Exp $ */ +/* $Id: macterm.c,v 1.76 2004/06/20 17:07:37 jacob Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -105,7 +105,7 @@ void post_paint(Session *s); void mac_startsession(Session *s) { - char *errmsg; + const char *errmsg; int i; WinInfo *wi; @@ -158,7 +158,8 @@ void mac_startsession(Session *s) term_provide_logctx(s->term, s->logctx); errmsg = s->back->init(s, &s->backhandle, &s->cfg, s->cfg.host, - s->cfg.port, &s->realhost, s->cfg.tcp_nodelay); + s->cfg.port, &s->realhost, s->cfg.tcp_nodelay, + s->cfg.tcp_keepalives); if (errmsg != NULL) fatalbox("%s", errmsg); s->back->provide_logctx(s->backhandle, s->logctx);