cand = g_ptr_array_index(part->languages, 0); | cand = g_ptr_array_index(part->languages, 0); | ||||
if (cand->elt) { | if (cand->elt) { | ||||
cand->elt->occurrences++; | cand->elt->occurrences++; | ||||
d->total_occurrences++; | |||||
msg_debug_lang_det("updated stat for %s: %d occurrences, %z total detected", | |||||
cand->elt->name, cand->elt->occurrences, | |||||
d->total_occurrences); | |||||
} | } | ||||
d->total_occurrences++; | |||||
} | } | ||||
end_ticks = rspamd_get_ticks(TRUE); | end_ticks = rspamd_get_ticks(TRUE); |