1 --- spamass-milter-0.2.0/spamass-milter.cpp.orig 2004-08-13 14:08:55.000000000 -0700
2 +++ spamass-milter-0.2.0/spamass-milter.cpp 2004-08-13 14:12:16.000000000 -0700
5 const char *spam_status = assassin->spam_status().c_str();
6 rv = sscanf(spam_status,"%*s hits=%d", &score);
7 + /* Spamassassin >= 3 uses score= instead of hit= */
9 + rv = sscanf(spam_status,"%*s score=%d", &score);
11 debug(D_ALWAYS, "Could not extract score from <%s>", spam_status);