[gaim-migrate @ 16834]

Fri, 18 Aug 2006 07:22:55 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Fri, 18 Aug 2006 07:22:55 +0000
changeset 14244
6ad49280546a
parent 14243
0bda01972ff2
child 14245
8a215625c6cb

[gaim-migrate @ 16834]
Only doing 2 DNS requests at a time seems a little restrictive.

src/dnsquery.c file | annotate | diff | comparison | revisions
--- a/src/dnsquery.c	Fri Aug 18 07:20:31 2006 +0000
+++ b/src/dnsquery.c	Fri Aug 18 07:22:55 2006 +0000
@@ -37,6 +37,8 @@
 
 #if defined(__unix__) || defined(__APPLE__)
 
+#define MAX_DNS_CHILDREN 4
+
 /*
  * This structure represents both a pending DNS request and
  * a free child process.
@@ -56,8 +58,6 @@
 
 static int number_of_dns_children = 0;
 
-static const int MAX_DNS_CHILDREN = 2;
-
 typedef struct {
 	char hostname[512];
 	int port;

mercurial