1 diff -crB yaph-0.91/yaph/init.c yaph-0.91-patched/yaph/init.c
2 *** yaph-0.91/yaph/init.c 2003-02-09 07:33:04.000000000 +0100
3 --- yaph-0.91/yaph/init.c 2010-04-12 17:04:30.000000000 +0200
6 {/// config file routine
9 ! if(!(cnf=fopen("./yaph.conf","rb")))
10 ! if(!(cnf=fopen("/etc/yaph.conf","rb")))
12 while(fgets(buff,sizeof(buff),cnf))
14 if(buff[strspn(buff," ")]!='#')
16 {/// config file routine
19 ! if((cnf=fopen("./yaph.conf","rb"))||(cnf=fopen("/etc/yaph.conf","rb")))
21 while(fgets(buff,sizeof(buff),cnf))
23 if(buff[strspn(buff," ")]!='#')