summaryrefslogtreecommitdiff
path: root/www/squid/patches/patch-ac
blob: 56fbf3a5b37f61bd00823c978090621c505fe6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.2 1998/08/07 11:14:27 agc Exp $

--- src/dns.c.dist	Wed Jun  4 00:25:44 1997
+++ src/dns.c	Sun Jul  6 01:00:27 1997
@@ -202,9 +202,9 @@
     close(fd);
     close(cfd);
     if (Config.Options.res_defnames)
-	execlp(command, "(dnsserver)", "-D", NULL);
+	execlp(command, command, "-D", NULL);
     else
-	execlp(command, "(dnsserver)", NULL);
+	execlp(command, command, NULL);
     debug(50, 0, "dnsOpenServer: %s: %s\n", command, xstrerror());
     _exit(1);
     return 0;