Use proper type in call to res_mkquery()
Submitted by: gcc -Wall and the letters R,T,F, and M
This commit is contained in:
parent
0529c4f2fb
commit
5324019ada
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20639
1 changed files with 11 additions and 0 deletions
11
net/mtr/files/patch-02
Normal file
11
net/mtr/files/patch-02
Normal file
|
@ -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.");
|
Loading…
Reference in a new issue