--- a/example/interact.go Sun Sep 29 21:56:19 2013 -0600
+++ b/example/interact.go Mon Sep 30 18:59:37 2013 -0600
@@ -52,7 +52,7 @@
if err != nil {
log.Fatalf("NewClient(%v): %v", jid, err)
}
- defer close(c.Send)
+ defer c.Close()
go func(ch <-chan xmpp.Stanza) {
for obj := range ch {