[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.49 and 1.50

version 1.49, 2000/01/04 00:08:00 version 1.50, 2000/01/05 08:32:42
Line 29 
Line 29 
 unsigned char session_id[16];  unsigned char session_id[16];
   
 extern Options options;  extern Options options;
   extern char *__progname;
   
 /*  /*
  * Connect to the given ssh server using a proxy command.   * Connect to the given ssh server using a proxy command.
Line 208 
Line 209 
         hints.ai_socktype = SOCK_STREAM;          hints.ai_socktype = SOCK_STREAM;
         snprintf(strport, sizeof strport, "%d", port);          snprintf(strport, sizeof strport, "%d", port);
         if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)          if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)
                 fatal("Bad host name: %.100s (%s)", host, gai_strerror(gaierr));                  fatal("%s: %.100s: %s", __progname, host,
                       gai_strerror(gaierr));
   
         /*          /*
          * Try to connect several times.  On some machines, the first time           * Try to connect several times.  On some machines, the first time

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50