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 *p;
|
||||||
char *host;
|
char *host;
|
||||||
char local_hostname[MAXHOSTNAMELEN];
|
char local_hostname[MAXHOSTNAMELEN];
|
||||||
struct hostent *hostent;
|
|
||||||
|
|
||||||
tmp = malloc (input_name_buffer->length + 1);
|
tmp = malloc (input_name_buffer->length + 1);
|
||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
@@ -99,10 +98,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
|||||||
}
|
}
|
||||||
host = local_hostname;
|
host = local_hostname;
|
||||||
}
|
}
|
||||||
hostent = gethostbyname (host);
|
|
||||||
if (hostent != NULL)
|
|
||||||
host = hostent->h_name;
|
|
||||||
strlwr (host);
|
|
||||||
|
|
||||||
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
||||||
host,
|
host,
|
||||||
|
@@ -78,7 +78,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
|||||||
char *p;
|
char *p;
|
||||||
char *host;
|
char *host;
|
||||||
char local_hostname[MAXHOSTNAMELEN];
|
char local_hostname[MAXHOSTNAMELEN];
|
||||||
struct hostent *hostent;
|
|
||||||
|
|
||||||
tmp = malloc (input_name_buffer->length + 1);
|
tmp = malloc (input_name_buffer->length + 1);
|
||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
@@ -99,10 +98,6 @@ import_hostbased_name (OM_uint32 *minor_status,
|
|||||||
}
|
}
|
||||||
host = local_hostname;
|
host = local_hostname;
|
||||||
}
|
}
|
||||||
hostent = gethostbyname (host);
|
|
||||||
if (hostent != NULL)
|
|
||||||
host = hostent->h_name;
|
|
||||||
strlwr (host);
|
|
||||||
|
|
||||||
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
kerr = krb5_sname_to_principal (gssapi_krb5_context,
|
||||||
host,
|
host,
|
||||||
|
Reference in New Issue
Block a user