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

Diff for /src/usr.bin/ssh/ssh-agent.c between version 1.72 and 1.73

version 1.72, 2001/08/03 10:31:30 version 1.73, 2001/11/17 19:14:34
Line 61 
Line 61 
 #include "scard.h"  #include "scard.h"
 #endif  #endif
   
   typedef enum {
           AUTH_UNUSED,
           AUTH_SOCKET,
           AUTH_CONNECTION
   } sock_type;
   
 typedef struct {  typedef struct {
         int fd;          int fd;
         enum {          sock_type type;
                 AUTH_UNUSED, AUTH_SOCKET, AUTH_CONNECTION  
         } type;  
         Buffer input;          Buffer input;
         Buffer output;          Buffer output;
 } SocketEntry;  } SocketEntry;
Line 623 
Line 627 
 }  }
   
 static void  static void
 new_socket(int type, int fd)  new_socket(sock_type type, int fd)
 {  {
         u_int i, old_alloc;          u_int i, old_alloc;
         if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)          if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73