freebsd-ports/net/yaph/files/patch-yaph::init.c
Edwin Groothuis 3f463d1310 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>
2003-10-10 05:35:54 +00:00

11 lines
334 B
C

--- 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))
{