summaryrefslogtreecommitdiff
blob: 5a041f11f8a1bc09b9481dcfaf8e3c8db0679132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -urN htdig-3.1.6.orig/htsearch/htsearch.cc htdig-3.1.6/htsearch/htsearch.cc
--- htdig-3.1.6.orig/htsearch/htsearch.cc	2005-02-10 10:44:13.593198276 -0500
+++ htdig-3.1.6/htsearch/htsearch.cc	2005-02-10 10:46:15.391055719 -0500
@@ -143,11 +143,8 @@
 	  configFile << '/' << input["config"] << ".conf";
     }
     if (access(configFile, R_OK) < 0)
-    {
-	if (filenameok) filenamemsg << " '" << configFile.get() << "'";
-	reportError(form("Unable to read configuration file%s",
-			 filenamemsg.get()));
-    }
+	reportError("Unable to read configuration file.");
+    
     config.Read(configFile);
 
     if (input.exists("method"))