mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
f044a284ce
PR: ports/13681 Submitted by: Gianmarco Giovannelli <gmarco@giovannelli.it>
12 lines
401 B
Plaintext
12 lines
401 B
Plaintext
--- 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.");
|