]> source.dussan.org Git - rspamd.git/commitdiff
Revert one bad convertation abs->fabs.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jun 2015 13:56:10 +0000 (14:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jun 2015 13:56:10 +0000 (14:56 +0100)
src/libserver/symbols_cache.c

index f8944d86b2164ea2e3307337dc5c2a684da13a05..f9cd358a07e95629ef270ef6e4f42f7c9f9440d0 100644 (file)
@@ -77,8 +77,8 @@ cache_logic_cmp (const void *p1, const void *p2)
        }
        else {
                /* Strict sorting */
-               w1 = fabs (i1->priority);
-               w2 = fabs (i2->priority);
+               w1 = abs (i1->priority);
+               w2 = abs (i2->priority);
        }
 
        return (gint)w2 - w1;