commit def0676: [Minor] Fix format string
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Mar 4 20:21:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-04 20:07:31 +0000
URL: https://github.com/rspamd/rspamd/commit/def0676452f3c2c993226a12ae377362e29e7b72
[Minor] Fix format string
---
src/libutil/http_connection.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libutil/http_connection.c b/src/libutil/http_connection.c
index aea13522d..d59782997 100644
--- a/src/libutil/http_connection.c
+++ b/src/libutil/http_connection.c
@@ -1646,7 +1646,7 @@ rspamd_http_message_write_header (const gchar* mime_type, gboolean encrypted,
rspamd_printf_fstring (buf,
"%s %s HTTP/1.0\r\n"
"Content-Length: %z\r\n"
- "Content-Type: application/octet-stream\r\n",
+ "Content-Type: application/octet-stream\r\n"
"Connection: %s\r\n",
"POST",
"/post",
@@ -1658,7 +1658,9 @@ rspamd_http_message_write_header (const gchar* mime_type, gboolean encrypted,
"%s %V HTTP/1.0\r\n"
"Content-Length: %z\r\n"
"Connection: %s\r\n",
- http_method_str (msg->method), msg->url, bodylen,
+ http_method_str (msg->method),
+ msg->url,
+ bodylen,
conn_type);
if (bodylen > 0) {
More information about the Commits
mailing list