cfadevrepo / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

pcp sample not working with --xmpp-use-tls=false #450

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. disable tls
2. connect to prosody server
3. login failed

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
latest main trunk on linux

Please provide any additional information below.
fixed by adding the following line at line#320
 if (gXmppUseTls == buzz::TLS_DISABLED) 
    323     xcs.set_allow_plain(true);

Original issue reported on code.google.com by yan...@yahoo.com on 6 Aug 2013 at 4:46