| Index: remoting/signaling/log_to_server.cc
|
| diff --git a/remoting/signaling/log_to_server.cc b/remoting/signaling/log_to_server.cc
|
| index 731dc5862bfd922d782e015bc14da67fd1ab2a41..2da454f0f29daa0511be8e0ceb1d236238650164 100644
|
| --- a/remoting/signaling/log_to_server.cc
|
| +++ b/remoting/signaling/log_to_server.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "remoting/signaling/log_to_server.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "remoting/base/constants.h"
|
| #include "remoting/signaling/iq_sender.h"
|
| #include "remoting/signaling/signal_strategy.h"
|
| @@ -63,12 +65,9 @@ void LogToServer::SendPendingEntries() {
|
| stanza->AddElement(entry.ToStanza().release());
|
| pending_entries_.pop_front();
|
| }
|
| - // Send the stanza to the server.
|
| - scoped_ptr<IqRequest> req = iq_sender_->SendIq(
|
| - buzz::STR_SET, directory_bot_jid_, stanza.Pass(),
|
| - IqSender::ReplyCallback());
|
| - // We ignore any response, so let the IqRequest be destroyed.
|
| - return;
|
| + // Send the stanza to the server and ignore the response.
|
| + iq_sender_->SendIq(buzz::STR_SET, directory_bot_jid_, std::move(stanza),
|
| + IqSender::ReplyCallback());
|
| }
|
|
|
| } // namespace remoting
|
|
|