(parse_reply): update the arguments to more reasonable types. allow
parse_reply-test to call it git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11353 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -110,8 +110,11 @@ dns_free_data(struct dns_reply *r)
|
|||||||
free (r);
|
free (r);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dns_reply*
|
#ifndef TEST_RESOLVE
|
||||||
parse_reply(unsigned char *data, int len)
|
static
|
||||||
|
#endif
|
||||||
|
struct dns_reply*
|
||||||
|
parse_reply(const unsigned char *data, size_t len)
|
||||||
{
|
{
|
||||||
const unsigned char *p;
|
const unsigned char *p;
|
||||||
char host[128];
|
char host[128];
|
||||||
|
Reference in New Issue
Block a user