summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index ac5134b5b..9f27fa632 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.282 2008/06/16 13:22:53 dtucker Exp $ */ 1/* $OpenBSD: channels.c,v 1.283 2008/07/10 18:05:58 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2875,6 +2875,7 @@ connect_to(const char *host, u_short port, char *ctype, char *rname)
2875 return NULL; 2875 return NULL;
2876 } 2876 }
2877 2877
2878 memset(&cctx, 0, sizeof(cctx));
2878 cctx.host = xstrdup(host); 2879 cctx.host = xstrdup(host);
2879 cctx.port = port; 2880 cctx.port = port;
2880 cctx.ai = cctx.aitop; 2881 cctx.ai = cctx.aitop;