mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
25 lines
930 B
Diff
25 lines
930 B
Diff
|
diff -u htdig-3.2.0b6/htsearch/Display.cc htdig-3.2.0b6/htsearch/Display.cc
|
||
|
--- htdig-3.2.0b6/htsearch/Display.cc
|
||
|
+++ htdig-3.2.0b6/htsearch/Display.cc
|
||
|
@@ -138,7 +138,7 @@
|
||
|
// Must temporarily stash the message in a String, since
|
||
|
// displaySyntaxError will overwrite the static temp used in form.
|
||
|
|
||
|
- String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
|
||
|
+ String s("Invalid sort method.");
|
||
|
|
||
|
displaySyntaxError(s);
|
||
|
return;
|
||
|
--- htdig-3.2.0b6.orig/libhtdig/ResultFetch.cc
|
||
|
+++ htdig-3.2.0b6/libhtdig/ResultFetch.cc
|
||
|
@@ -142,7 +142,7 @@
|
||
|
// Must temporarily stash the message in a String, since
|
||
|
// displaySyntaxError will overwrite the static temp used in form.
|
||
|
|
||
|
- String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
|
||
|
+ String s("Invalid search method.");
|
||
|
|
||
|
displaySyntaxError(s);
|
||
|
//return;
|
||
|
|