Remove this unnecessary struct field. 20120108-close
authorChris Jones <chris@cjones.org>
Sun, 08 Jan 2012 12:53:45 -0700
branch20120108-close
changeset 65 3d69b31c3839
parent 64 ac0639692317
child 66 4558994ab3b3
Remove this unnecessary struct field.
xmpp.go
--- a/xmpp.go	Sun Jan 08 12:43:50 2012 -0700
+++ b/xmpp.go	Sun Jan 08 12:53:45 2012 -0700
@@ -80,7 +80,6 @@
 	// the time StartSession() returns.
 	Jid JID
 	password string
-	tcp net.Conn
 	socket net.Conn
 	socketSync sync.WaitGroup
 	saslExpected string
@@ -147,7 +146,6 @@
 	cl.Uid = <- Id
 	cl.password = password
 	cl.Jid = *jid
-	cl.tcp = tcp
 	cl.socket = tcp
 	cl.handlers = make(chan *stanzaHandler, 100)
 	cl.inputControl = make(chan int)