Fix SIGSEGV in xmpp_component (#126)

* SIGSEGV in xmpp_component example with Prosody #126
This commit is contained in:
remicorniere
2019-11-22 15:07:40 +01:00
committed by Jérôme Sautret
parent 6aa1e668ee
commit 7d89353156
4 changed files with 47 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ import (
)
// XMPPTransport implements the XMPP native TCP transport
// The decoder is expected to be initialized after connecting to a server.
type XMPPTransport struct {
openStatement string
Config TransportConfiguration