commit 8cc17f8: [Minor] Fix formatting

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 12 20:35:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-12 21:33:20 +0100
URL: https://github.com/rspamd/rspamd/commit/8cc17f8819f91c55b5214c3e0e4f3ddb820c8cce (HEAD -> master)

[Minor] Fix formatting

---
 src/libserver/http/http_connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/http/http_connection.c b/src/libserver/http/http_connection.c
index aaa34f44e..a24fe6de6 100644
--- a/src/libserver/http/http_connection.c
+++ b/src/libserver/http/http_connection.c
@@ -1878,10 +1878,10 @@ rspamd_http_message_write_header (const gchar* mime_type, gboolean encrypted,
 								"Content-Length: %z\r\n",
 								http_method_str(msg->method),
 								(msg->flags & RSPAMD_HTTP_FLAG_SSL) ? "https" : "http",
+								host,
 								msg->port,
 								msg->url,
 								conn_type,
-								host,
 								bodylen);
 					}
 					else {


More information about the Commits mailing list