aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-08-20 08:42:00 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-08-20 08:42:00 +0000
commit025111ae1321e9d30f5615b762a47fb354971ba1 (patch)
tree26b89e8cd8bf8d07b6227d2a2fdc6c2f856d0698
parent656c0a4692ef8fdc4ba345b6469b3330c9fda134 (diff)
downloadsrc-025111ae1321e9d30f5615b762a47fb354971ba1.tar.gz
src-025111ae1321e9d30f5615b762a47fb354971ba1.zip
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
Notes
Notes: svn path=/vendor/cvs/dist/; revision=81953
-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 0b57b35408f9..184cf9668d7f 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));
{