From ac22765f2169f04ebc1a5659d96439d0083df0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 21 Jun 2023 12:02:30 +0200 Subject: [PATCH] tokio-xmpp: Remove newline after stream:stream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- tokio-xmpp/src/xmpp_codec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-xmpp/src/xmpp_codec.rs b/tokio-xmpp/src/xmpp_codec.rs index f6d99bff..4cb1f733 100644 --- a/tokio-xmpp/src/xmpp_codec.rs +++ b/tokio-xmpp/src/xmpp_codec.rs @@ -175,7 +175,7 @@ impl Encoder for XMPPCodec { self.ns = Some(value); } } - write!(buf, ">\n").map_err(to_io_err)?; + write!(buf, ">").map_err(to_io_err)?; write!(dst, "{}", buf)?; let utf8 = std::str::from_utf8(dst)?;