]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Do not add weight if not requested.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 May 2014 13:31:09 +0000 (14:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 May 2014 13:31:09 +0000 (14:31 +0100)
src/client/rspamc.c

index 419b3c6fbd9f1cd408d899b533500e4b24189245..e526850c4e57ebc2528f0b12708f9b246de91a4a 100644 (file)
@@ -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;