[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.94 and 1.95

version 1.94, 2001/02/08 10:47:04 version 1.95, 2001/02/08 19:30:52
Line 318 
Line 318 
  * identification string.   * identification string.
  */   */
 void  void
 ssh_exchange_identification()  ssh_exchange_identification(void)
 {  {
         char buf[256], remote_version[256];     /* must be same size! */          char buf[256], remote_version[256];     /* must be same size! */
         int remote_major, remote_minor, i, mismatch;          int remote_major, remote_minor, i, mismatch;
Line 427 
Line 427 
         if (isatty(STDIN_FILENO))          if (isatty(STDIN_FILENO))
                 f = stdin;                  f = stdin;
         else          else
                 f = fopen("/dev/tty", "rw");                  f = fopen(_PATH_TTY, "rw");
   
         if (f == NULL)          if (f == NULL)
                 return 0;                  return 0;

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95