summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/xmpp_iq_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/jingle_glue/xmpp_iq_request.cc')
-rw-r--r--remoting/jingle_glue/xmpp_iq_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/jingle_glue/xmpp_iq_request.cc b/remoting/jingle_glue/xmpp_iq_request.cc
index e48120bc..b8057c3 100644
--- a/remoting/jingle_glue/xmpp_iq_request.cc
+++ b/remoting/jingle_glue/xmpp_iq_request.cc
@@ -57,7 +57,7 @@ void XmppIqRequest::Unregister() {
void XmppIqRequest::IqResponse(buzz::XmppIqCookie cookie,
const buzz::XmlElement* stanza) {
- if (callback_.is_null()) {
+ if (!callback_.is_null()) {
callback_.Run(stanza);
callback_.Reset();
}