xmpp/stream.go
changeset 129 cccf2b2fe34d
parent 128 8342afcffc92
child 130 da6f37ae3ffe
--- a/xmpp/stream.go	Sat Sep 07 11:19:29 2013 -0700
+++ b/xmpp/stream.go	Sat Sep 07 11:46:42 2013 -0700
@@ -341,7 +341,7 @@
 	cl.socketSync.Wait()
 
 	// Negotiate TLS with the server.
-	tls := tls.Client(tcp, &TlsConfig)
+	tls := tls.Client(tcp, &cl.TlsConfig)
 
 	// Make the TLS connection available to the reader, and wait
 	// for it to signal that it's working again.