summaryrefslogtreecommitdiffstats
path: root/contrib/cvs
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-20 08:42:00 +0000
committerpeter <peter@FreeBSD.org>2001-08-20 08:42:00 +0000
commit92c0df1bed708821e09e92931a5309cd3abd82fb (patch)
tree26b89e8cd8bf8d07b6227d2a2fdc6c2f856d0698 /contrib/cvs
parentf406110b8f997a95ad4b81a0d8efb1829788289d (diff)
downloadFreeBSD-src-92c0df1bed708821e09e92931a5309cd3abd82fb.zip
FreeBSD-src-92c0df1bed708821e09e92931a5309cd3abd82fb.tar.gz
Fix the HAVE_KERBEROS case. It seems somebody got carried away
with cut/paste in the last release. Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> Obtained from: http://ccvs.cvshome.org/source/browse/ccvs/src/client.c.diff?r1=1.302&r2=1.303
Diffstat (limited to 'contrib/cvs')
-rw-r--r--contrib/cvs/src/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cvs/src/client.c b/contrib/cvs/src/client.c
index 0b57b35..184cf96 100644
--- a/contrib/cvs/src/client.c
+++ b/contrib/cvs/src/client.c
@@ -4117,13 +4117,13 @@ start_tcp_server (tofdp, fromfdp)
{
fprintf (stderr, " -> Connecting to %s(%s):%d\n",
current_parsed_root->hostname,
- inet_ntoa (client_sai.sin_addr), port);
+ inet_ntoa (sin.sin_addr), port);
}
if (connect (s, (struct sockaddr *) &sin, sizeof sin) < 0)
error (1, 0, "connect to %s(%s):%d failed: %s",
current_parsed_root->hostname,
- inet_ntoa (client_sai.sin_addr),
+ inet_ntoa (sin.sin_addr),
port, SOCK_STRERROR (SOCK_ERRNO));
{
OpenPOWER on IntegriCloud