Skip to content
Snippets Groups Projects
Commit d9c847c0 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

ringdht: add missing return statement

Add a return to an error handling of unwaited rx IM msg.

Coverity CI # 1296815

Change-Id: Ib4503f639e80f7a24e039043f70f8597b6f141d4
Tuleap: #909
parent f0449b12
No related branches found
No related tags found
No related merge requests found
......@@ -1467,7 +1467,8 @@ RingAccount::sendTextMessage(const std::string& to, const std::map<std::string,
return true;
auto e = this_->sentMessages_.find(msg.id);
if (e == this_->sentMessages_.end()) {
RING_DBG("Message not found for %" PRIu64, token);
RING_DBG("Message not found for %" PRIu64, token);
return true;
}
if (e->second.to != msg.from) {
RING_DBG("Unrelated text message : from %s != second %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment