diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-10 08:24:12 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-10 08:24:12 +0000 |
commit | 5324019ada12103e00823cc74c1c571befd22108 (patch) | |
tree | 08b247e1c1cbadf0bbba0eadf3a33b4dff6751d4 /net/mtr | |
parent | 0529c4f2fbd7b6dbd2c995fc5095d1b6d283b747 (diff) |
Use proper type in call to res_mkquery()
Submitted by: gcc -Wall and the letters R,T,F, and M
Notes
Notes:
svn path=/head/; revision=20639
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/files/patch-02 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mtr/files/patch-02 b/net/mtr/files/patch-02 new file mode 100644 index 000000000000..f6c38f83395a --- /dev/null +++ b/net/mtr/files/patch-02 @@ -0,0 +1,11 @@ +--- 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."); |