commit 9520e5d: [Minor] Add rspamd_conditional_debug_fast to format checks
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Mar 20 14:28:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-20 14:21:30 +0000
URL: https://github.com/rspamd/rspamd/commit/9520e5d9a2957e9ca1cb1e14ab90e29dc853c463
[Minor] Add rspamd_conditional_debug_fast to format checks
---
clang-plugin/printf_check.cc | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc
index 4bb611787..4bb0f33a8 100644
--- a/clang-plugin/printf_check.cc
+++ b/clang-plugin/printf_check.cc
@@ -353,12 +353,13 @@ namespace rspamd {
{
/* name -> format string position */
printf_functions = {
- {"rspamd_printf", 0},
- {"rspamd_default_log_function", 4},
- {"rspamd_snprintf", 2},
- {"rspamd_fprintf", 1},
- {"rspamd_printf_gstring", 1},
- {"rspamd_printf_fstring", 1}
+ {"rspamd_printf", 0},
+ {"rspamd_default_log_function", 4},
+ {"rspamd_snprintf", 2},
+ {"rspamd_fprintf", 1},
+ {"rspamd_printf_gstring", 1},
+ {"rspamd_printf_fstring", 1},
+ {"rspamd_conditional_debug_fast", 6},
};
format_specs = {
More information about the Commits
mailing list