This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Minor] Fix division by zero
tags/3.2
Vsevolod Stakhov
2 years ago
parent
3f578a1e9c
commit
ae24d391fb
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/plugins/chartable.c
+ 1
- 1
src/plugins/chartable.c
View File
@@ -596,7 +596,7 @@ rspamd_chartable_process_part (struct rspamd_task *task,
gdouble cur_score = 0.0;
if (part == NULL || part->utf_words == NULL ||
part->utf_words->len == 0) {
part->utf_words->len == 0
|| part->nwords == 0
) {
return FALSE;
}
Write
Preview
Loading…
Cancel
Save