small fix: moving the url length check in the inner loop
This commit is contained in:
parent
b40abfa1ad
commit
49b3568b53
1 changed files with 6 additions and 6 deletions
|
@ -145,13 +145,13 @@ void DBPriceUpdater::updatePrices()
|
||||||
bNotFirst = true;
|
bNotFirst = true;
|
||||||
}
|
}
|
||||||
muidMap.insert(muid, cards[i]);
|
muidMap.insert(muid, cards[i]);
|
||||||
}
|
|
||||||
|
|
||||||
if(q.length() > 240)
|
if(q.length() > 240)
|
||||||
{
|
{
|
||||||
urls.append(base + q);
|
urls.append(base + q);
|
||||||
bNotFirst=false;
|
bNotFirst=false;
|
||||||
q = "";
|
q = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(q.length() > 0)
|
if(q.length() > 0)
|
||||||
|
|
Loading…
Reference in a new issue