[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.146 and 1.147

version 1.146, 2003/06/28 16:23:06 version 1.147, 2003/06/29 12:44:38
Line 242 
Line 242 
         fdsetsz = howmany(sockfd + 1, NFDBITS) * sizeof(fd_mask);          fdsetsz = howmany(sockfd + 1, NFDBITS) * sizeof(fd_mask);
         fdset = (fd_set *)xmalloc(fdsetsz);          fdset = (fd_set *)xmalloc(fdsetsz);
   
         memset(fdset, '\0', fdsetsz);          memset(fdset, 0, fdsetsz);
         FD_SET(sockfd, fdset);          FD_SET(sockfd, fdset);
         tv.tv_sec = timeout;          tv.tv_sec = timeout;
         tv.tv_usec = 0;          tv.tv_usec = 0;

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147