]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix formatting
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Aug 2021 20:33:20 +0000 (21:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Aug 2021 20:33:20 +0000 (21:33 +0100)
src/libserver/http/http_connection.c

index aaa34f44eaa4e61170aa8930fa90bdb6bec6ed57..a24fe6de68a7a7d113cc187146440fc941ebbf56 100644 (file)
@@ -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 {