diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 16:51:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 16:51:51 +0100 |
commit | 8aadb475905cf6f1b2fbfd3cf4834cf8cacff8c8 (patch) | |
tree | 2057549d2c4890ab90f462d8d299a99fba26687c /src/controller.c | |
parent | 8e6bd45485c358e5081e5f49e8376e8098f4a95e (diff) | |
download | rspamd-8aadb475905cf6f1b2fbfd3cf4834cf8cacff8c8.tar.gz rspamd-8aadb475905cf6f1b2fbfd3cf4834cf8cacff8c8.zip |
Fix printing of fixed strings.
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c index d02508f07..c68cd1bdc 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1670,7 +1670,7 @@ rspamd_controller_handle_savemap (struct rspamd_http_connection_entry *conn_ent, id = strtoul (idstr->str, &errstr, 10); if (*errstr != '\0' && !g_ascii_isspace (*errstr)) { - msg_info_session ("invalid map id: %V", idstr); + msg_info_session ("invalid map id: %v", idstr); rspamd_controller_send_error (conn_ent, 400, "Map id is invalid"); return 0; } @@ -1983,7 +1983,7 @@ rspamd_controller_handle_custom (struct rspamd_http_connection_entry *conn_ent, cmd = g_hash_table_lookup (session->ctx->custom_commands, msg->url->str); if (cmd == NULL || cmd->handler == NULL) { - msg_err_session ("custom command %V has not been found", msg->url); + msg_err_session ("custom command %v has not been found", msg->url); rspamd_controller_send_error (conn_ent, 404, "No command associated"); return 0; } |