Index: remoting/jingle_glue/xmpp_iq_request.cc |
diff --git a/remoting/jingle_glue/xmpp_iq_request.cc b/remoting/jingle_glue/xmpp_iq_request.cc |
index e48120bc5b1cba53d4dc94dc1a7eb571b92a7d80..b8057c36014d892df09e0824818792322688151f 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(); |
} |