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/libmime/smtp_proto.c | |
parent | 8e6bd45485c358e5081e5f49e8376e8098f4a95e (diff) | |
download | rspamd-8aadb475905cf6f1b2fbfd3cf4834cf8cacff8c8.tar.gz rspamd-8aadb475905cf6f1b2fbfd3cf4834cf8cacff8c8.zip |
Fix printing of fixed strings.
Diffstat (limited to 'src/libmime/smtp_proto.c')
-rw-r--r-- | src/libmime/smtp_proto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/smtp_proto.c b/src/libmime/smtp_proto.c index d00a25e0f..05d5c43d5 100644 --- a/src/libmime/smtp_proto.c +++ b/src/libmime/smtp_proto.c @@ -374,7 +374,7 @@ smtp_upstream_write_list (GList *args, gchar *buf, size_t buflen) while (cur && r < buflen - 3) { arg = cur->data; - r += rspamd_snprintf (buf + r, buflen - r, " %V", arg); + r += rspamd_snprintf (buf + r, buflen - r, " %T", arg); cur = g_list_next (cur); } @@ -409,7 +409,7 @@ smtp_upstream_read_socket (rspamd_ftok_t * in, void *arg) gchar outbuf[BUFSIZ]; gint r; - msg_debug ("in: %V, state: %d", in, session->upstream_state); + msg_debug ("in: %T, state: %d", in, session->upstream_state); switch (session->upstream_state) { case SMTP_STATE_GREETING: r = check_smtp_ustream_reply (in, '2'); @@ -715,7 +715,7 @@ smtp_upstream_read_socket (rspamd_ftok_t * in, void *arg) return FALSE; break; default: - msg_err ("got upstream reply at unexpected state: %d, reply: %V", + msg_err ("got upstream reply at unexpected state: %d, reply: %T", session->upstream_state, in); session->state = SMTP_STATE_CRITICAL_ERROR; |