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

Diff for /src/usr.bin/ssh/ssh.c between version 1.38 and 1.39

version 1.38, 2000/01/04 09:07:59 version 1.39, 2000/01/04 13:41:32
Line 491 
Line 491 
                 memset(&hints, 0, sizeof(hints));                  memset(&hints, 0, sizeof(hints));
                 hints.ai_family = AF_UNSPEC;                  hints.ai_family = AF_UNSPEC;
                 hints.ai_flags = AI_CANONNAME;                  hints.ai_flags = AI_CANONNAME;
                   hints.ai_socktype = SOCK_STREAM;
                 errgai = getaddrinfo(host, NULL, &hints, &ai);                  errgai = getaddrinfo(host, NULL, &hints, &ai);
                 if (errgai == 0) {                  if (errgai == 0) {
                         if (ai->ai_canonname != NULL)                          if (ai->ai_canonname != NULL)

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39