X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Frsh-security.c;fp=common-src%2Frsh-security.c;h=4c626ac54fc18c6a631157e3ffdab51e42759bb1;hb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;hp=9761f81b4bbaa6fa6c6d3f985fb40ae801a55109;hpb=71325c297e0436e9930a3e129a26696e78c27f62;p=debian%2Famanda diff --git a/common-src/rsh-security.c b/common-src/rsh-security.c index 9761f81..4c626ac 100644 --- a/common-src/rsh-security.c +++ b/common-src/rsh-security.c @@ -25,7 +25,7 @@ */ /* - * $Id: rsh-security.c,v 1.31 2006/08/21 20:17:10 martinea Exp $ + * $Id: rsh-security.c,v 1.31.2.1 2006/10/25 19:13:11 martinea Exp $ * * rsh-security.c - security and transport over rsh or a rsh-like command. * @@ -140,6 +140,8 @@ rsh_connect( rh->hostname = NULL; rh->rs = NULL; rh->ev_timeout = NULL; + rh->rc = NULL; + if ((he = gethostbyname(hostname)) == NULL) { security_seterror(&rh->sech,