/* Verify the regexp at this ID belongs to the current re_class */
if (rspamd_regexp_get_class(elt->re) != re_class) {
- msg_info_re_cache("stale hyperscan cache for class %s: id %u points to "
+ msg_info_re_cache("stale hyperscan cache for class %s: id %ud points to "
"wrong re_class, will use PCRE until recompilation",
re_class->hash, ids[i]);
hs_free_scratch(re_class->hs_scratch);
msg_info_tokenizer("successfully obtained API from custom tokenizer '%s'", name);
/* Check API version */
- msg_info_tokenizer("checking API version for custom tokenizer '%s' (got %u, expected %u)",
+ msg_info_tokenizer("checking API version for custom tokenizer '%s' (got %ud, expected %ud)",
name, api->api_version, RSPAMD_CUSTOM_TOKENIZER_API_VERSION);
if (api->api_version != RSPAMD_CUSTOM_TOKENIZER_API_VERSION) {
dlclose(handle);
/* Re-sort by priority */
g_array_sort(mgr->detection_order, rspamd_custom_tokenizer_priority_cmp);
- msg_info_tokenizer("custom tokenizer '%s' registered and sorted by priority (total tokenizers: %u)",
+ msg_info_tokenizer("custom tokenizer '%s' registered and sorted by priority (total tokenizers: %ud)",
name, mgr->detection_order->len);
msg_info_tokenizer("successfully loaded custom tokenizer '%s' (priority %.1f) from %s",
}
/* Try each tokenizer in priority order */
- msg_info_tokenizer("trying %u tokenizers for general detection", mgr->detection_order->len);
+ msg_info_tokenizer("trying %ud tokenizers for general detection", mgr->detection_order->len);
for (i = 0; i < mgr->detection_order->len; i++) {
tok = g_array_index(mgr->detection_order, struct rspamd_custom_tokenizer *, i);
}
if (removed > 0 && task) {
- msg_warn_task("fuzzy_tcp: cleaned up %u pending commands due to connection failure: %s",
+ msg_warn_task("fuzzy_tcp: cleaned up %ud pending commands due to connection failure: %s",
removed, reason ? reason : "unknown");
}
}
if (removed > 0 && session->task) {
- msg_debug_fuzzy_check("fuzzy_tcp: cleaned up %u pending commands for finished session",
+ msg_debug_fuzzy_check("fuzzy_tcp: cleaned up %ud pending commands for finished session",
removed);
}
}