clear getStatus after token error

This commit is contained in:
Adrien Béraud committed 2016-05-02 15:25:15 -04:00
1 parent 3367043e92
commit 995196ce08
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ NetworkEngine::processMessage(const uint8_t *buf, size_t buflen, const sockaddr
} catch (const std::overflow_error& e) {
DHT_LOG.ERROR("Can't send value: buffer not large enough !");
} catch (DhtProtocolException& e) {
sendError(from, fromlen, msg.tid, e.getCode(), e.getMsg().c_str());
sendError(from, fromlen, msg.tid, e.getCode(), e.getMsg().c_str(), true);
}
}
}