diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-27 19:16:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-27 19:16:13 +0400 |
commit | 7df6149f7f66c2d76a41f15fc7d6a6b988e8a696 (patch) | |
tree | 1941032fa577e871b265dcfeecee275d98a10f08 /src/statfile.c | |
parent | 0dc48ea239965d05b760cb9d8e570e0d91aedb77 (diff) | |
download | rspamd-7df6149f7f66c2d76a41f15fc7d6a6b988e8a696.tar.gz rspamd-7df6149f7f66c2d76a41f15fc7d6a6b988e8a696.zip |
* In classify normalize result after comparing, not before
Diffstat (limited to 'src/statfile.c')
-rw-r--r-- | src/statfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c index 1e47b3ec7..005ea7c8a 100644 --- a/src/statfile.c +++ b/src/statfile.c @@ -365,7 +365,7 @@ statfile_pool_open (statfile_pool_t * pool, char *filename, size_t size, gboolea qsort (pool->files, pool->opened, sizeof (stat_file_t), cmpstatfile); memory_pool_unlock_mutex (pool->lock); - return new_file; + return statfile_pool_is_open (pool, filename); } int |