remove dead code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2787 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -78,7 +78,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
||||
char *p;
|
||||
char *host;
|
||||
char local_hostname[MAXHOSTNAMELEN];
|
||||
struct hostent *hostent;
|
||||
|
||||
tmp = malloc (input_name_buffer->length + 1);
|
||||
if (tmp == NULL)
|
||||
@@ -99,10 +98,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
||||
}
|
||||
host = local_hostname;
|
||||
}
|
||||
hostent = gethostbyname (host);
|
||||
if (hostent != NULL)
|
||||
host = hostent->h_name;
|
||||
strlwr (host);
|
||||
|
||||
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
||||
host,
|
||||
|
@@ -78,7 +78,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
||||
char *p;
|
||||
char *host;
|
||||
char local_hostname[MAXHOSTNAMELEN];
|
||||
struct hostent *hostent;
|
||||
|
||||
tmp = malloc (input_name_buffer->length + 1);
|
||||
if (tmp == NULL)
|
||||
@@ -99,10 +98,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
||||
}
|
||||
host = local_hostname;
|
||||
}
|
||||
hostent = gethostbyname (host);
|
||||
if (hostent != NULL)
|
||||
host = hostent->h_name;
|
||||
strlwr (host);
|
||||
|
||||
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
||||
host,
|
||||
|
Reference in New Issue
Block a user