[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.215 and 1.216

version 1.215, 2009/10/28 16:38:18 version 1.216, 2009/11/10 04:30:45
Line 23 
Line 23 
   
 #include <ctype.h>  #include <ctype.h>
 #include <errno.h>  #include <errno.h>
   #include <fcntl.h>
 #include <netdb.h>  #include <netdb.h>
 #include <paths.h>  #include <paths.h>
 #include <signal.h>  #include <signal.h>
Line 183 
Line 184 
         }          }
         sock = socket_rdomain(ai->ai_family, ai->ai_socktype, ai->ai_protocol,          sock = socket_rdomain(ai->ai_family, ai->ai_socktype, ai->ai_protocol,
             options.rdomain);              options.rdomain);
         if (sock < 0)          if (sock < 0) {
                 error("socket: %.100s", strerror(errno));                  error("socket: %.100s", strerror(errno));
                   return -1;
           }
           fcntl(sock, F_SETFD, FD_CLOEXEC);
   
         /* Bind the socket to an alternative local IP address */          /* Bind the socket to an alternative local IP address */
         if (options.bind_address == NULL)          if (options.bind_address == NULL)

Legend:
Removed from v.1.215  
changed lines
  Added in v.1.216