summaryrefslogtreecommitdiff
path: root/net/yaph/files/patch-yaph::init.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:35:54 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:35:54 +0000
commit3f463d1310ead0cb1bae4eb1cce7197b49c3fee1 (patch)
tree2237cbeaf1b78a8b49252d6ec0bfca4ee2312831 /net/yaph/files/patch-yaph::init.c
parentNew port for libirman 0.4.2 (diff)
New port: yaph 0.91
New port, yaph (yet another proxy scanner), 0.91 Yaph provides the ability to reveal public proxy servers. PR: ports/53319 Submitted by: Patrick MARIE <mycroft@virgaria.org>
Diffstat (limited to 'net/yaph/files/patch-yaph::init.c')
-rw-r--r--net/yaph/files/patch-yaph::init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/yaph/files/patch-yaph::init.c b/net/yaph/files/patch-yaph::init.c
new file mode 100644
index 000000000000..235005979bab
--- /dev/null
+++ b/net/yaph/files/patch-yaph::init.c
@@ -0,0 +1,11 @@
+--- yaph/init.c.orig Sat Jun 14 14:52:31 2003
++++ yaph/init.c Sat Jun 14 14:52:41 2003
+@@ -127,7 +127,7 @@
+ FILE *cnf=NULL;
+ char buff[1024];
+ if(!(cnf=fopen("./yaph.conf","rb")))
+- if(!(cnf=fopen("/etc/yaph.conf","rb")))
++ if(!(cnf=fopen(PREFIX "/etc/yaph.conf","rb")))
+ goto no_file;
+ while(fgets(buff,sizeof(buff),cnf))
+ {