about summary refs log tree commit diff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/__dns.c2
-rw-r--r--src/network/getaddrinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/__dns.c b/src/network/__dns.c
index 786c054a..1464513d 100644
--- a/src/network/__dns.c
+++ b/src/network/__dns.c
@@ -29,7 +29,7 @@ int __dns_doqueries(unsigned char *dest, const char *name, int *rr, int rrcnt)
 	time_t t0 = time(0);
 	int fd;
 	FILE *f, _f;
-	unsigned char _buf[64];
+	unsigned char _buf[256];
 	char line[64], *s, *z;
 	union {
 		struct sockaddr_in sin;
diff --git a/src/network/getaddrinfo.c b/src/network/getaddrinfo.c
index e5fa5191..93c75160 100644
--- a/src/network/getaddrinfo.c
+++ b/src/network/getaddrinfo.c
@@ -61,7 +61,7 @@ int getaddrinfo(const char *host, const char *serv, const struct addrinfo *hint,
 	//char hostbuf[256];
 	char line[512];
 	FILE *f, _f;
-	unsigned char _buf[64];
+	unsigned char _buf[1024];
 	char *z;
 	int result;
 	int cnt;