diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 18:00:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 18:00:43 +0000 |
commit | f3585bb8b0ecc2dc710c9958484748afad38fec6 (patch) | |
tree | a17c28a29c8bf44d2c1e4f28e58ee9bd4053ad5b /src/libserver/task.c | |
parent | e4abacbe1ddd0f3e7e60a53aec5d93f96702b081 (diff) | |
download | rspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.tar.gz rspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.zip |
Fix format issues found by static analysis
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r-- | src/libserver/task.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c index 584094e6e..74266a88f 100644 --- a/src/libserver/task.c +++ b/src/libserver/task.c @@ -340,7 +340,7 @@ rspamd_task_load_message (struct rspamd_task *task, task->msg.len = len; if (task->msg.len == 0) { - msg_warn_task ("message has invalid message length: %ud", + msg_warn_task ("message has invalid message length: %uz", task->msg.len); g_set_error (&task->err, rspamd_task_quark(), RSPAMD_PROTOCOL_ERROR, "Invalid length"); @@ -350,7 +350,7 @@ rspamd_task_load_message (struct rspamd_task *task, if (task->flags & RSPAMD_TASK_FLAG_HAS_CONTROL) { /* We have control chunk, so we need to process it separately */ if (task->msg.len < task->message_len) { - msg_warn_task ("message has invalid message length: %ud and total len: %ud", + msg_warn_task ("message has invalid message length: %ul and total len: %ul", task->message_len, task->msg.len); g_set_error (&task->err, rspamd_task_quark(), RSPAMD_PROTOCOL_ERROR, "Invalid length"); @@ -495,7 +495,7 @@ rspamd_task_process (struct rspamd_task *task, guint stages) task->processed_stages |= RSPAMD_TASK_STAGE_DONE; } - msg_debug_task ("task is processed", st); + msg_debug_task ("task is processed"); return ret; } |