summaryrefslogtreecommitdiffstats
path: root/src/libmime/images.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 18:00:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 18:00:43 +0000
commitf3585bb8b0ecc2dc710c9958484748afad38fec6 (patch)
treea17c28a29c8bf44d2c1e4f28e58ee9bd4053ad5b /src/libmime/images.c
parente4abacbe1ddd0f3e7e60a53aec5d93f96702b081 (diff)
downloadrspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.tar.gz
rspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.zip
Fix format issues found by static analysis
Diffstat (limited to 'src/libmime/images.c')
-rw-r--r--src/libmime/images.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmime/images.c b/src/libmime/images.c
index f55e47d7a..1fdb38151 100644
--- a/src/libmime/images.c
+++ b/src/libmime/images.c
@@ -90,7 +90,7 @@ process_png_image (struct rspamd_task *task, GByteArray *data)
guint8 *p;
if (data->len < 24) {
- msg_info_task ("bad png detected (maybe striped): <%s>", task->message_id);
+ msg_info_task ("bad png detected (maybe striped)");
return NULL;
}
@@ -98,7 +98,7 @@ process_png_image (struct rspamd_task *task, GByteArray *data)
/* Skip signature and read header section */
p = data->data + 12;
if (memcmp (p, "IHDR", 4) != 0) {
- msg_info_task ("png doesn't begins with IHDR section", task->message_id);
+ msg_info_task ("png doesn't begins with IHDR section");
return NULL;
}
@@ -154,7 +154,7 @@ process_gif_image (struct rspamd_task *task, GByteArray *data)
guint16 t;
if (data->len < 10) {
- msg_info_task ("bad gif detected (maybe striped): <%s>", task->message_id);
+ msg_info_task ("bad gif detected (maybe striped)");
return NULL;
}
@@ -179,7 +179,7 @@ process_bmp_image (struct rspamd_task *task, GByteArray *data)
guint8 *p;
if (data->len < 28) {
- msg_info_task ("bad bmp detected (maybe striped): <%s>", task->message_id);
+ msg_info_task ("bad bmp detected (maybe striped)");
return NULL;
}