aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-07 14:32:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-07 14:32:51 +0100
commite34d0c8859b9800a88547764c8d269a35ff15d5c (patch)
treeff223ca3bbd3e05cbea618c44df42b3eef15b317 /src/libutil/http.c
parent67e0b6631eff42cff194768a1d15d4eff92e179e (diff)
downloadrspamd-e34d0c8859b9800a88547764c8d269a35ff15d5c.tar.gz
rspamd-e34d0c8859b9800a88547764c8d269a35ff15d5c.zip
[Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r--src/libutil/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index ab3c386dc..0edd74d1a 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -2802,7 +2802,7 @@ rspamd_http_message_add_header_len (struct rspamd_http_message *msg,
nlen = strlen (name);
vlen = len;
hdr->combined = rspamd_fstring_sized_new (nlen + vlen + 4);
- rspamd_printf_fstring (&hdr->combined, "%s: %*s\r\n", name, (gint)nlen,
+ rspamd_printf_fstring (&hdr->combined, "%s: %*s\r\n", name, (gint)vlen,
value);
hdr->value = g_slice_alloc (sizeof (*hdr->value));
hdr->name = g_slice_alloc (sizeof (*hdr->name));