diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-20 14:21:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-20 14:21:30 +0000 |
commit | 9520e5d9a2957e9ca1cb1e14ab90e29dc853c463 (patch) | |
tree | d9306749db38ec2613589992ff85badbf031cba5 | |
parent | c19d8d8af01103337107e981d85b91aa4af83b20 (diff) | |
download | rspamd-9520e5d9a2957e9ca1cb1e14ab90e29dc853c463.tar.gz rspamd-9520e5d9a2957e9ca1cb1e14ab90e29dc853c463.zip |
[Minor] Add rspamd_conditional_debug_fast to format checks
-rw-r--r-- | clang-plugin/printf_check.cc | 13 |
1 files 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 = { |