blob: bcb4216cdfce3331af74ea1337280736e07d203f (
plain)
1
2
3
4
5
6
7
8
9
10
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.");
|