Verified Commit 47948c86 authored by Fushan Wen's avatar Fushan Wen
Browse files

dict: Fix a condition error in getDicts

AND should be used instead of OR, or there will be a dead loop and the
dict list is never returned.
parent 036a403e
Pipeline #172089 passed with stage
in 2 minutes and 57 seconds
......@@ -137,7 +137,7 @@ void DictEngine::getDicts()
while (!ret.contains("250") || !ret.contains("420") || !ret.contains("421")) {
while (!ret.contains("250") && !ret.contains("420") && !ret.contains("421")) {
ret += m_tcpSocket->readAll();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment