From: Vsevolod Stakhov Date: Thu, 1 May 2014 13:31:09 +0000 (+0100) Subject: Do not add weight if not requested. X-Git-Tag: 0.7.0~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9db710c65721b373b9351a677b22cfab8a58215;p=thirdparty%2Frspamd.git Do not add weight if not requested. --- diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 419b3c6fbd..e526850c4e 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;