tags 344479 + patch thanks On Thu, Dec 22, 2005 at 11:43:21PM +0100, gregor "ingrid" herrmann wrote:
> Maybe someone with more knowledge about slang has an idea about what > needs to be changed ... After some fiddling around and reading manuals I found a workaround: replace "error" by "message". I don't know if this is the canonical solution but at least the errors are gone :-) Cf. the attached patch. HTH && greetings, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : infos zur usenet-hierarchie at.*: http://www.usenet.at/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Carole King: Smackwater Jack
--- t-prot.sl.2.0.2-1 2005-12-23 19:20:43.000000000 +0100
+++ t-prot.sl 2005-12-23 19:21:24.000000000 +0100
@@ -73,3 +73,3 @@
if (f == NULL) {
- error ("Unable to filter article to "+fname);
+ message ("Unable to filter article to "+fname);
return;
@@ -82,3 +82,3 @@
if (f == NULL) {
- error (fname+" could not be opened.");
+ message (fname+" could not be opened.");
return;
@@ -90,3 +90,3 @@
- if (0 != remove(fname)) error ("Unable to remove "+fname);
+ if (0 != remove(fname)) message ("Unable to remove "+fname);
@@ -97,6 +97,6 @@
if (1 == register_hook("read_article_hook", "t_prot")) {
- error("t-prot filtering activated");
+ message ("t-prot filtering activated");
}
else {
- error("t-prot filtering NOT activated");
+ message ("t-prot filtering NOT activated");
}
@@ -106,6 +106,6 @@
if (1 == unregister_hook("read_article_hook", "t_prot")) {
- error("t-prot filtering deactivated");
+ message ("t-prot filtering deactivated");
}
else {
- error("t-prot filtering NOT deactivated");
+ message ("t-prot filtering NOT deactivated");
}
signature.asc
Description: Digital signature

