aboutsummaryrefslogtreecommitdiff
path: root/src/builtin/sa.bi
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtin/sa.bi')
-rw-r--r--src/builtin/sa.bi5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/builtin/sa.bi b/src/builtin/sa.bi
index 17670c61..e95d9eb6 100644
--- a/src/builtin/sa.bi
+++ b/src/builtin/sa.bi
@@ -387,6 +387,11 @@ MF_DEFUN(sa, NUMBER, STRING urlstr, NUMBER prec, OPTIONAL, NUMBER report)
version_str);
}
+ if (result) {
+ spamd_destroy(&ostr);
+ MF_THROW(mfe_failure, "%s", buffer);
+ }
+
spamd_read_line(ostr, buffer, sizeof buffer);
if (sscanf (buffer, "Spam: %5s ; %20s / %20s",
spam_str, score_str, threshold_str) != 3) {

Return to:

Send suggestions and report system problems to the System administrator.