aboutsummaryrefslogtreecommitdiffstats
path: root/src/statfile.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 17:16:36 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 17:16:36 +0400
commitab9bba4afc865f30ecd93570cf6b512cb71f4570 (patch)
treea0c0b276d509093bb685392346dc041d009bc1ac /src/statfile.c
parentcba8f14abab46234da3089aff075887757ca2afa (diff)
downloadrspamd-ab9bba4afc865f30ecd93570cf6b512cb71f4570.tar.gz
rspamd-ab9bba4afc865f30ecd93570cf6b512cb71f4570.zip
* Fix error with statfiles sorting function
Diffstat (limited to 'src/statfile.c')
-rw-r--r--src/statfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c
index 048ebc485..d1382e368 100644
--- a/src/statfile.c
+++ b/src/statfile.c
@@ -35,7 +35,7 @@ cmpstatfile (const void *a, const void *b)
{
const stat_file_t *s1 = a, *s2 = b;
- return rspamd_strcase_equal (s1->filename, s2->filename);
+ return g_ascii_strcasecmp (s1->filename, s2->filename);
}
/* Check whether specified file is statistic file and calculate its len in blocks */