mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:15:10 +00:00
TaskUzonline: Improve address bounds detecting.
This commit is contained in:
parent
76b88cf4d4
commit
56b7d8042e
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user