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

Diff for /src/usr.bin/ssh/ssh-keyscan.c between version 1.98 and 1.99

version 1.98, 2015/01/30 01:13:33 version 1.99, 2015/01/30 10:44:49
Line 450 
Line 450 
         *cp = '\0';          *cp = '\0';
         if ((c->c_ssh = ssh_packet_set_connection(NULL, s, s)) == NULL)          if ((c->c_ssh = ssh_packet_set_connection(NULL, s, s)) == NULL)
                 fatal("ssh_packet_set_connection failed");                  fatal("ssh_packet_set_connection failed");
           ssh_packet_set_timeout(c->c_ssh, timeout, 1);
         ssh_set_app_data(c->c_ssh, c);  /* back link */          ssh_set_app_data(c->c_ssh, c);  /* back link */
         if (sscanf(buf, "SSH-%d.%d-%[^\n]\n",          if (sscanf(buf, "SSH-%d.%d-%[^\n]\n",
             &remote_major, &remote_minor, remote_version) == 3)              &remote_major, &remote_minor, remote_version) == 3)

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99