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

Diff for /src/usr.bin/ssh/hostfile.c between version 1.22 and 1.23

version 1.22, 2000/12/19 23:17:56 version 1.23, 2000/12/21 15:10:16
Line 107 
Line 107 
  */   */
   
 HostStatus  HostStatus
 check_host_in_hostfile(const char *filename, const char *host, Key *key, Key *found)  check_host_in_hostfile(const char *filename, const char *host, Key *key,
       Key *found, int *numret)
 {  {
         FILE *f;          FILE *f;
         char line[8192];          char line[8192];
Line 163 
Line 164 
                         continue;                          continue;
                 if (!hostfile_check_key(kbits, found, host, filename, linenum))                  if (!hostfile_check_key(kbits, found, host, filename, linenum))
                         continue;                          continue;
   
                   if (numret != NULL)
                           *numret = linenum;
   
                 /* Check if the current key is the same as the given key. */                  /* Check if the current key is the same as the given key. */
                 if (key_equal(key, found)) {                  if (key_equal(key, found)) {

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23