summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-10 08:24:12 +0000
committerobrien <obrien@FreeBSD.org>1999-08-10 08:24:12 +0000
commitfb48f8123a1ec29414e057b9708eec490302b3de (patch)
treece2e2712d9a28ab21d262d6b26790e9c51cca857 /net
parentbc12c09549f58766f1a98ff2eec60eb29a7f4812 (diff)
downloadFreeBSD-ports-fb48f8123a1ec29414e057b9708eec490302b3de.zip
FreeBSD-ports-fb48f8123a1ec29414e057b9708eec490302b3de.tar.gz
Use proper type in call to res_mkquery()
Submitted by: gcc -Wall and the letters R,T,F, and M
Diffstat (limited to 'net')
-rw-r--r--net/mtr/files/patch-0211
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 0000000..f6c38f8
--- /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.");
OpenPOWER on IntegriCloud