summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 18:55:12 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 18:55:12 +0400
commit05556b30f9f309abc532f26c86a2e8266c2e72c7 (patch)
tree70007f830b786030de17e38df04754907094bb81 /utils
parente30ea48c912be20ddc9c327205d146e46d60535e (diff)
downloadrspamd-05556b30f9f309abc532f26c86a2e8266c2e72c7.tar.gz
rspamd-05556b30f9f309abc532f26c86a2e8266c2e72c7.zip
* Add counters for rspamd symbols
* Fix shared hashes
Diffstat (limited to 'utils')
-rw-r--r--utils/expression_parser.c2
-rw-r--r--utils/url_extracter.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/utils/expression_parser.c b/utils/expression_parser.c
index fa0237f3a..4f37ec923 100644
--- a/utils/expression_parser.c
+++ b/utils/expression_parser.c
@@ -3,6 +3,8 @@
#include "../src/cfg_file.h"
#include "../src/expressions.h"
+rspamd_hash_t *counters = NULL;
+
int
main (int argc, char **argv)
{
diff --git a/utils/url_extracter.c b/utils/url_extracter.c
index 1b98fa67e..ac8e8be4e 100644
--- a/utils/url_extracter.c
+++ b/utils/url_extracter.c
@@ -26,6 +26,7 @@
#include "../src/url.h"
#include "../src/message.h"
+rspamd_hash_t *counters = NULL;
#ifdef GMIME24
static void
mime_foreach_callback (GMimeObject *parent, GMimeObject *part, gpointer user_data)