about summary refs log tree commit diff
path: root/src/network/res_send.c
blob: b9cea0bfd5663de2e5e2bd5aca618eec48f57354 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <resolv.h>

int __res_send(const unsigned char *msg, int msglen, unsigned char *answer, int anslen)
{
	int r = __res_msend(1, &msg, &msglen, &answer, &anslen, anslen);
	return r<0 ? r : anslen;
}

weak_alias(__res_send, res_send);