summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/iq_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/jingle_glue/iq_request.cc')
-rw-r--r--remoting/jingle_glue/iq_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/jingle_glue/iq_request.cc b/remoting/jingle_glue/iq_request.cc
index f2751a9..07d2c81 100644
--- a/remoting/jingle_glue/iq_request.cc
+++ b/remoting/jingle_glue/iq_request.cc
@@ -245,7 +245,7 @@ void JingleInfoRequest::OnResponse(const buzz::XmlElement* stanza) {
server = server->NextNamed(buzz::QN_JINGLE_INFO_SERVER)) {
std::string host = server->Attr(buzz::QN_JINGLE_INFO_HOST);
std::string port_str = server->Attr(buzz::QN_JINGLE_INFO_UDP);
- if (host != buzz::STR_EMPTY && host != buzz::STR_EMPTY) {
+ if (host != buzz::STR_EMPTY && port_str != buzz::STR_EMPTY) {
int port;
if (!base::StringToInt(port_str, &port)) {
LOG(WARNING) << "Unable to parse port in stanza" << stanza->Str();