From 66aa2c60c6abe80b0dad1f469b35db09cdb077fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 21 May 2018 23:14:02 +0200 Subject: [PATCH] Fix comparison --- YACReaderLibrary/server/controllers/v2/synccontroller_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/server/controllers/v2/synccontroller_v2.cpp b/YACReaderLibrary/server/controllers/v2/synccontroller_v2.cpp index f1b8b40e..f6b55776 100644 --- a/YACReaderLibrary/server/controllers/v2/synccontroller_v2.cpp +++ b/YACReaderLibrary/server/controllers/v2/synccontroller_v2.cpp @@ -32,7 +32,7 @@ void SyncControllerV2::service(HttpRequest &request, HttpResponse &response) if(comicInfoProgress.length() == 6) { - if (comicInfoProgress.at(0) == "unknown") + if (comicInfoProgress.at(0) != "unknown") { libraryId = comicInfoProgress.at(0).toULongLong(); comicId = comicInfoProgress.at(1).toULongLong();