1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/mtr/files/patch-02

12 lines
401 B
Plaintext
Raw Normal View History

--- dns.c.orig Wed Jun 9 11:09:20 1999
+++ dns.c Tue Aug 10 01:21:12 1999
@@ -751,7 +751,7 @@
void dorequest(char *s,int type,word id){
packetheader *hp;
int r,i;
- int buf[(MaxPacketsize/sizeof (int))+1];
+ unsigned char buf[MaxPacketsize];
r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize);
if (r == -1){
restell("Resolver error: Query too large.");