[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.72.2.2 and 1.72.2.3

version 1.72.2.2, 2000/09/01 18:23:24 version 1.72.2.3, 2000/11/08 21:31:27
Line 2 
Line 2 
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
  * Created: Sat Mar 18 22:15:47 1995 ylo  
  * Code to connect to a remote host, and to perform the client side of the   * Code to connect to a remote host, and to perform the client side of the
  * login (authentication) dialog.   * login (authentication) dialog.
    *
    * As far as I am concerned, the code I have written for this software
    * can be used freely for any purpose.  Any derived versions of this
    * software must be clearly marked as such, and if the derived work is
    * incompatible with the protocol description in the RFC file, it must be
    * called by a name other than "ssh" or "Secure Shell".
  */   */
   
 #include "includes.h"  #include "includes.h"
Line 431 
Line 436 
                         retval = defval;                          retval = defval;
                 if (strcmp(buf, "yes") == 0)                  if (strcmp(buf, "yes") == 0)
                         retval = 1;                          retval = 1;
                 if (strcmp(buf, "no") == 0)                  else if (strcmp(buf, "no") == 0)
                         retval = 0;                          retval = 0;
                   else
                           fprintf(stderr, "Please type 'yes' or 'no'.\n");
   
                 if (retval != -1) {                  if (retval != -1) {
                         if (f != stdin)                          if (f != stdin)

Legend:
Removed from v.1.72.2.2  
changed lines
  Added in v.1.72.2.3