http://bugzilla.spamassassin.org/show_bug.cgi?id=3728





------- Additional Comments From [EMAIL PROTECTED]  2004-08-25 12:35 -------
Created an attachment (id=2289)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2289&action=view)
suggested patch

I don't like the idea of having yet another reference to {main} hanging around,
so I came up with this one instead.  I was originally going to do
$conf->{main}->{languages_filename}, but it seems that $conf->{main} is undef
for some reason, so ...

Basically instead of passing in conf, pass in main to check_language(), and do
the right things from there.  I was able to reproduce the issue on my box, and
this patch fixes it.

The API is changed a little for check_languages() and TextCat::classify(), but
those are both internal functions anyway, so it's not a big issue imo.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to