From 56b7d8042e9300a5717f862c4592e663c963ff9f Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Thu, 26 Oct 2017 09:09:43 +0500 Subject: [PATCH] TaskUzonline: Improve address bounds detecting. --- src/ui/task/taskuzonline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/task/taskuzonline.cpp b/src/ui/task/taskuzonline.cpp index 0c6d8928..46e436a1 100644 --- a/src/ui/task/taskuzonline.cpp +++ b/src/ui/task/taskuzonline.cpp @@ -17,8 +17,8 @@ void TaskUzonline::setupDownloader() const QStringList TaskUzonline::parseUzonlineBuffer(const QByteArray &buffer) { - const int startPos = buffer.indexOf("=START="); - const int endPos = buffer.indexOf("=END=", startPos + 1); + const int startPos = buffer.indexOf("=UZONLINE=START="); + const int endPos = buffer.indexOf("=UZONLINE=END=", startPos + 1); if (startPos < 0 || endPos < 0) return QStringList();