mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-05-22 20:13:46 -07:00
Remove unnecessary newline. (#140)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user