litelib_initialize_new returns a seed when it succeeds, not OK
This commit is contained in:
@@ -303,7 +303,7 @@ void NewSeedPage::initializePage() {
|
||||
|
||||
qDebug() << __func__ << ": reply=" << reply;
|
||||
|
||||
if (reply.toUpper().trimmed() != "OK") {
|
||||
if (reply.isEmpty()) {
|
||||
qDebug() << "Lite server " << parent->server << " is down, getting a random one";
|
||||
parent->server = Settings::getRandomServer();
|
||||
qDebug() << __func__ << ": new server is " << parent->server;
|
||||
|
||||
Reference in New Issue
Block a user