~ubuntu-branches/ubuntu/wily/kopete/wily-proposed

« back to all changes in this revision

Viewing changes to protocols/jabber/libjingle/patches/05_jingleinfotask.patch

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, José Manuel Santamaría Lema, Jonathan Riddell
  • Date: 2015-08-18 10:50:51 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150818105051-dlphtsk2m0d8rvjh
Tags: 4:15.07.90-0ubuntu1
[ José Manuel Santamaría Lema ]
* Build depend on libboost-dev instead of libboost1.55-dev. Right now the
  default is libboost1.58-dev so if we don't change this the package may be
  unable to build.

[ Jonathan Riddell ]
* new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff --git a/protocols/jabber/libjingle/talk/examples/login/jingleinfotask.cc b/protocols/jabber/libjingle/talk/examples/login/jingleinfotask.cc
 
2
index c8932cd..61eabd5 100644
 
3
--- a/protocols/jabber/libjingle/talk/examples/login/jingleinfotask.cc
 
4
+++ b/protocols/jabber/libjingle/talk/examples/login/jingleinfotask.cc
 
5
@@ -114,7 +114,7 @@ JingleInfoTask::ProcessStart() {
 
6
          server != NULL; server = server->NextNamed(QN_JINGLE_INFO_SERVER)) {
 
7
       std::string host = server->Attr(QN_JINGLE_INFO_HOST);
 
8
       std::string port = server->Attr(QN_JINGLE_INFO_UDP);
 
9
-      if (host != STR_EMPTY && host != STR_EMPTY) {
 
10
+      if (host != STR_EMPTY && port != STR_EMPTY) {
 
11
         stun_hosts.push_back(talk_base::SocketAddress(host, atoi(port.c_str())));
 
12
       }
 
13
     }