summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-01 14:31:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-01 14:31:09 +0100
commita9db710c65721b373b9351a677b22cfab8a58215 (patch)
treecc0b9b8035040b18473e4cfb65cf4208b555f87e
parente2e74a7f084016506cb2be71d919688891d9653e (diff)
downloadrspamd-a9db710c65721b373b9351a677b22cfab8a58215.tar.gz
rspamd-a9db710c65721b373b9351a677b22cfab8a58215.zip
Do not add weight if not requested.
-rw-r--r--src/client/rspamc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 419b3c6fb..e526850c4 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -42,8 +42,8 @@ static gchar *helo = NULL;
static gchar *hostname = NULL;
static gchar *classifier = "bayes";
static gchar *local_addr = NULL;
-static gint weight = 1;
-static gint flag;
+static gint weight = 0;
+static gint flag = 0;
static gint max_requests = 1024;
static gdouble timeout = 5.0;
static gboolean pass_all;