(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:
Assar Westerlund
2002-09-03 21:34:44 +00:00
parent b8e46cb9e3
commit 03d1e81671

View File

@@ -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];