From a451e64638a62129347decd82a7057b14859c589 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Thu, 6 Jun 2019 12:01:49 +0200 Subject: [PATCH] Improves comments --- cmd/xmpp_echo/xmpp_echo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/xmpp_echo/xmpp_echo.go b/cmd/xmpp_echo/xmpp_echo.go index c132ffa..30adfec 100644 --- a/cmd/xmpp_echo/xmpp_echo.go +++ b/cmd/xmpp_echo/xmpp_echo.go @@ -28,7 +28,8 @@ func main() { cm := xmpp.NewClientManager(client, nil) cm.Start() - // connection can be stopped with cm.Stop(). + // connection can be stopped with cm.Stop() + // connection state can be checked by reading cm.Client.CurrentState // Iterator to receive packets coming from our XMPP connection for packet := range client.Recv() {