summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 00:11:24 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 00:11:24 +0000
commit9ba3c0da6f3bb1ce70b61aa99562dc35ca45572e (patch)
treeb8e776d993b128a4a81c0181e4adb8d534cd3811 /remoting/jingle_glue
parent840915b8b828a8d1237109f3b5915456ecdd68da (diff)
downloadchromium_src-9ba3c0da6f3bb1ce70b61aa99562dc35ca45572e.zip
chromium_src-9ba3c0da6f3bb1ce70b61aa99562dc35ca45572e.tar.gz
chromium_src-9ba3c0da6f3bb1ce70b61aa99562dc35ca45572e.tar.bz2
Return correct result from XmppSignalStrategy::HandleStanza().
This code was broken in revision 116192. BUG=109661 Review URL: http://codereview.chromium.org/9168021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue')
-rw-r--r--remoting/jingle_glue/xmpp_signal_strategy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/jingle_glue/xmpp_signal_strategy.cc b/remoting/jingle_glue/xmpp_signal_strategy.cc
index 81a4683..fe7e2fe 100644
--- a/remoting/jingle_glue/xmpp_signal_strategy.cc
+++ b/remoting/jingle_glue/xmpp_signal_strategy.cc
@@ -122,7 +122,7 @@ bool XmppSignalStrategy::HandleStanza(const buzz::XmlElement* stanza) {
Listener* listener;
while ((listener = it.GetNext()) != NULL) {
if (listener->OnSignalStrategyIncomingStanza(stanza))
- break;
+ return true;
}
return false;
}