diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-22 16:26:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-22 16:26:29 +0000 |
commit | 07d6070ead1579494e251c654f9424ec184b6851 (patch) | |
tree | 5aa4f4dbd8c7a6aa6b5faeb5553edeb6f523d93c /src/libserver/cfg_rcl.c | |
parent | ff982f60325a8cac8517f8383377c01a8dfb0a37 (diff) | |
download | rspamd-07d6070ead1579494e251c654f9424ec184b6851.tar.gz rspamd-07d6070ead1579494e251c654f9424ec184b6851.zip |
Remove ambiguity between %b format modifiers
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 014a44183..7ddc14f93 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -2030,7 +2030,7 @@ rspamd_rcl_parse_struct_string (rspamd_mempool_t *pool, break; case UCL_BOOLEAN: *target = rspamd_mempool_alloc (pool, num_str_len); - rspamd_snprintf (*target, num_str_len, "%b", (gboolean)obj->value.iv); + rspamd_snprintf (*target, num_str_len, "%B", (gboolean)obj->value.iv); break; default: g_set_error (err, @@ -2378,7 +2378,7 @@ rspamd_rcl_parse_struct_string_list (rspamd_mempool_t *pool, break; case UCL_BOOLEAN: val = rspamd_mempool_alloc (pool, num_str_len); - rspamd_snprintf (val, num_str_len, "%b", (gboolean)cur->value.iv); + rspamd_snprintf (val, num_str_len, "%B", (gboolean)cur->value.iv); break; default: g_set_error (err, |