Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > e744b7076d49eab2401e7e9efaecee88 > files > 1

w3cam-0.7.2-10mdv2009.0.src.rpm

--- cgi.c~	2001-11-11 11:34:54.000000000 +0100
+++ cgi.c	2004-05-26 13:45:37.874972420 +0200
@@ -558,8 +558,7 @@
 	else program = (char *)pname;
 	if (strstr (program, "nph-"))
 		run_as_nph = 1;
-	strcpy (cfgfile, pname);
-	strcat (cfgfile, ".scf");
+	strcpy (cfgfile, "/etc/w3cam.cgi.scf");
 	fp = fopen (cfgfile, "rb");
 	if (!fp) {
 		return (0);