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

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.21 and 1.22

version 1.21, 2001/01/29 19:47:31 version 1.22, 2001/02/03 10:08:37
Line 399 
Line 399 
         if (stat(tkt_string(), &st) < 0)          if (stat(tkt_string(), &st) < 0)
                 return 0;                  return 0;
   
         strncpy(inst, (char *) krb_get_phost(get_canonical_hostname()), INST_SZ);          strncpy(inst, (char *) krb_get_phost(get_canonical_hostname(1)), INST_SZ);
   
         realm = (char *) krb_realmofhost(get_canonical_hostname());          realm = (char *) krb_realmofhost(get_canonical_hostname(1));
         if (!realm) {          if (!realm) {
                 debug("Kerberos V4: no realm for %s", get_canonical_hostname());                  debug("Kerberos V4: no realm for %s", get_canonical_hostname(1));
                 return 0;                  return 0;
         }          }
         /* This can really be anything. */          /* This can really be anything. */

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