bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1.11.1p1] Compile bug in src/client.c with Kerberos


From: Russ Allbery
Subject: [1.11.1p1] Compile bug in src/client.c with Kerberos
Date: 03 Dec 2001 13:47:28 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Simple case of using the wrong variable name.  Probably a cut and paste
problem.  Turns up if attempting to compile with Kerberos enabled.

--- cvs-1.11.1p1/src/client.c.orig      Tue Apr 24 11:14:53 2001
+++ cvs-1.11.1p1/src/client.c   Mon Dec  3 13:42:56 2001
@@ -4117,13 +4117,13 @@
     {
        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));
 
     {

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]