Remove unnecessary newline. (#140)

This commit is contained in:
Martin
2022-07-13 00:17:24 +02:00
committed by GitHub
parent 3b26f73300
commit 2eb234970c

View File

@@ -566,7 +566,7 @@ func (c *Client) startStream(o *Options, domain string) (*streamFeatures, error)
}
_, err := fmt.Fprintf(c.conn, "<?xml version='1.0'?>\n"+
"<stream:stream to='%s' xmlns='%s'\n"+
"<stream:stream to='%s' xmlns='%s'"+
" xmlns:stream='%s' version='1.0'>\n",
xmlEscape(domain), nsClient, nsStream)
if err != nil {