[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.77 and 1.78

version 1.77, 2008/11/01 11:14:36 version 1.78, 2009/01/22 10:02:34
Line 730 
Line 730 
                         break;                          break;
                 case 'p':                  case 'p':
                         ssh_port = a2port(optarg);                          ssh_port = a2port(optarg);
                         if (ssh_port == 0) {                          if (ssh_port <= 0) {
                                 fprintf(stderr, "Bad port '%s'\n", optarg);                                  fprintf(stderr, "Bad port '%s'\n", optarg);
                                 exit(1);                                  exit(1);
                         }                          }

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78