diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-23 19:10:30 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-23 19:10:30 +0400 |
commit | 63725086863e4f422340479f83dd7ef374613e76 (patch) | |
tree | f12b32f1f9dc464f233f140871eef3d91b9bf8c9 | |
parent | 5022c0333ffd8ce5eca3dc9e2679b612e2c9ce99 (diff) | |
download | rspamd-63725086863e4f422340479f83dd7ef374613e76.tar.gz rspamd-63725086863e4f422340479f83dd7ef374613e76.zip |
Oops, remove debug.
-rw-r--r-- | src/fuzzy.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fuzzy.c b/src/fuzzy.c index ce5217b5b..1a9337071 100644 --- a/src/fuzzy.c +++ b/src/fuzzy.c @@ -321,7 +321,6 @@ fuzzy_init_part (struct mime_text_part *part, memory_pool_t *pool) gsize real_len = 0, len = part->content->len; GList *cur_offset; struct uri *cur_url = NULL; - GString *debug; cur_offset = part->urls_offset; if (cur_offset != NULL) { @@ -350,8 +349,6 @@ fuzzy_init_part (struct mime_text_part *part, memory_pool_t *pool) } } - debug = g_string_sized_new (real_len); - new->block_size = fuzzy_blocksize (real_len); new2->block_size = new->block_size * 2; @@ -370,20 +367,16 @@ fuzzy_init_part (struct mime_text_part *part, memory_pool_t *pool) if (cur_offset != NULL) { cur_url = cur_offset->data; } - msg_info ("skip url block of %d symbols", cur_url->len); } else { if (!g_ascii_isspace (*c) && !g_ascii_ispunct (*c)) { fuzzy_update2 (new, new2, *c); - g_string_append_c (debug, *c); } c++; i++; } } - msg_info ("make hash of string: %v", debug); - /* Check whether we have more bytes in a rolling window */ if (new->rh != 0) { new->hash_pipe[new->hi] = b64[new->h % 64]; |