[BACK]Return to sshconnect.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.129 and 1.130

version 1.129, 2002/07/09 12:04:02 version 1.130, 2002/07/10 10:28:15
Line 305 
Line 305 
                         } else {                          } else {
                                 if (errno == ECONNREFUSED)                                  if (errno == ECONNREFUSED)
                                         full_failure = 0;                                          full_failure = 0;
 #if 0  
                                 log("ssh: connect to address %s port %s: %s",  
                                     sockaddr_ntop(ai->ai_addr, ai->ai_addrlen),  
                                     strport, strerror(errno));  
 #endif  
                                 /*                                  /*
                                  * Close the failed socket; there appear to                                   * Close the failed socket; there appear to
                                  * be some problems when reusing a socket for                                   * be some problems when reusing a socket for
Line 332 
Line 327 
         freeaddrinfo(aitop);          freeaddrinfo(aitop);
   
         /* Return failure if we didn't get a successful connection. */          /* Return failure if we didn't get a successful connection. */
         if (attempt >= connection_attempts)          if (attempt >= connection_attempts) {
                   log("ssh: connect to host %s port %s: %s",
                       host, strport, strerror(errno));
                 return full_failure ? ECONNABORTED : ECONNREFUSED;                  return full_failure ? ECONNABORTED : ECONNREFUSED;
           }
   
         debug("Connection established.");          debug("Connection established.");
   

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130